Changeset 1971130
- Timestamp:
- 11/08/2018 07:10:09 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
simple-multiple-featured-images/trunk/includes/class-smfi-dnd.php
r1971107 r1971130 110 110 111 111 try { 112 113 if( empty( $img_ids ) ) { 114 return $img_ids; 115 } 116 112 117 // Get the transmitted image positions. 113 118 $received_img_positions = $_POST[ 'smfi-img-pos' ]; … … 132 137 $result = array_values( $combinedArray ); 133 138 if( count( $result ) !== count( $img_ids ) ) { 134 throw new Exception( "Sorting failed for some reason." );135 } 136 return $ result;139 //throw new Exception( "Sorting failed for some reason." ); 140 } 141 return $img_ids; 137 142 138 143 } catch ( Exception $exception ) {
Note: See TracChangeset
for help on using the changeset viewer.