Ticket #35480: media.php.patch
File media.php.patch, 459 bytes (added by , 9 years ago) |
---|
-
media.php
1081 1081 */ 1082 1082 foreach ( $image_sizes as $image ) { 1083 1083 1084 if ( ! is_array( $image ) ) { 1085 continue; 1086 } 1087 1084 1088 // If the file name is part of the `src`, we've confirmed a match. 1085 1089 if ( ! $src_matched && false !== strpos( $image_src, $dirname . $image['file'] ) ) { 1086 1090 $src_matched = true;