- Timestamp:
- 02/02/2018 07:47:03 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r42451 r42639 1206 1206 1207 1207 // Only return a 'srcset' value if there is more than one source. 1208 if ( ! $src_matched || count( $sources ) < 2 ) {1208 if ( ! $src_matched || ! is_array( $sources ) || count( $sources ) < 2 ) { 1209 1209 return false; 1210 1210 }
Note: See TracChangeset
for help on using the changeset viewer.