Changeset 36110 for trunk/src/wp-includes/media.php
- Timestamp:
- 12/28/2015 02:28:53 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r36031 r36110 1047 1047 } 1048 1048 1049 // Filter out images that are wider than '$max_srcset_image_width'. 1050 if ( $max_srcset_image_width && $image['width'] > $max_srcset_image_width ) { 1049 /* 1050 * Filter out images that are wider than '$max_srcset_image_width' unless 1051 * that file is in the 'src' attribute. 1052 */ 1053 if ( $max_srcset_image_width && $image['width'] > $max_srcset_image_width && 1054 false === strpos( $image_src, $image['file'] ) ) { 1055 1051 1056 continue; 1052 1057 }
Note: See TracChangeset
for help on using the changeset viewer.