Changeset 42669 for branches/4.9
- Timestamp:
- 02/07/2018 11:48:37 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/media.php
r42452 r42669 1204 1204 1205 1205 // Only return a 'srcset' value if there is more than one source. 1206 if ( ! $src_matched || count( $sources ) < 2 ) {1206 if ( ! $src_matched || ! is_array( $sources ) || count( $sources ) < 2 ) { 1207 1207 return false; 1208 1208 }
Note: See TracChangeset
for help on using the changeset viewer.