Ticket #34981: 34981.3.diff
| File 34981.3.diff, 959 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/media.php
3139 3139 ) ); 3140 3140 unset( $possible_sizes['full'] ); 3141 3141 3142 // The "thumbnail" size should always be set as it is used in the media modal and the media library 3143 // to display the image thumbnails. If it is removed, they will end up using whatever size is available. 3144 // For example they will load the full size images (which are far too large) if only they are available. 3145 $possible_sizes = array_merge( array( 'thumbnail' => __('Thumbnail') ), $possible_sizes ); 3146 3142 3147 // Loop through all potential sizes that may be chosen. Try to do this with some efficiency. 3143 3148 // First: run the image_downsize filter. If it returns something, we can use its data. 3144 3149 // If the filter does not return something, then image_downsize() is just an expensive
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)