Changeset 36150 for branches/4.4/src/wp-includes/media.php
- Timestamp:
- 01/02/2016 03:52:01 AM (10 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-includes/media.php
r35821 r36150 1050 1050 } 1051 1051 1052 // Filter out images that are wider than '$max_srcset_image_width'. 1053 if ( $max_srcset_image_width && $image['width'] > $max_srcset_image_width ) { 1052 /* 1053 * Filter out images that are wider than '$max_srcset_image_width' unless 1054 * that file is in the 'src' attribute. 1055 */ 1056 if ( $max_srcset_image_width && $image['width'] > $max_srcset_image_width && 1057 false === strpos( $image_src, $image['file'] ) ) { 1058 1054 1059 continue; 1055 1060 }
Note: See TracChangeset
for help on using the changeset viewer.