Ticket #35043: 35043.patch
File 35043.patch, 513 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/media.php
1206 1206 * @return string Converted content with 'srcset' and 'sizes' attributes added to images. 1207 1207 */ 1208 1208 function wp_make_content_images_responsive( $content ) { 1209 if ( is_feed() ) { 1210 return $content; 1211 } 1212 1209 1213 if ( ! preg_match_all( '/<img [^>]+>/', $content, $matches ) ) { 1210 1214 return $content; 1211 1215 }