Changeset 12346 for trunk/wp-admin/includes/image.php
- Timestamp:
- 12/09/2009 09:44:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r12342 r12346 111 111 $sizes[$s]['width'] = intval( $_wp_additional_image_sizes[$s]['width'] ); // For theme-added sizes 112 112 else 113 $sizes[$s]['width'] = get_option( "{$s ize}_size_w" ); // For default sizes set in options113 $sizes[$s]['width'] = get_option( "{$s}_size_w" ); // For default sizes set in options 114 114 if ( isset( $_wp_additional_image_sizes[$s]['height'] ) ) 115 115 $sizes[$s]['height'] = intval( $_wp_additional_image_sizes[$s]['height'] ); // For theme-added sizes 116 116 else 117 $sizes[$s]['height'] = get_option( "{$s ize}_size_h" ); // For default sizes set in options117 $sizes[$s]['height'] = get_option( "{$s}_size_h" ); // For default sizes set in options 118 118 if ( isset( $_wp_additional_image_sizes[$s]['crop'] ) ) 119 119 $sizes[$s]['crop'] = intval( $_wp_additional_image_sizes[$s]['crop'] ); // For theme-added sizes 120 120 else 121 $sizes[$s]['crop'] = get_option( "{$s ize}_crop" ); // For default sizes set in options121 $sizes[$s]['crop'] = get_option( "{$s}_crop" ); // For default sizes set in options 122 122 } 123 123
Note: See TracChangeset
for help on using the changeset viewer.