Changeset 28806 for trunk/src/wp-admin/includes/image.php
- Timestamp:
- 06/23/2014 02:47:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r28589 r28806 291 291 if ( empty( $meta['title'] ) ) { 292 292 // Assume the title is stored in 2:120 if it's short. 293 if ( strlen( $caption ) < 80 )293 if ( mbstring_binary_safe_strlen( $caption ) < 80 ) 294 294 $meta['title'] = $caption; 295 295 else … … 328 328 329 329 if ( ! empty( $exif['ImageDescription'] ) ) { 330 if ( empty( $meta['title'] ) && strlen( $exif['ImageDescription'] ) < 80 ) {330 if ( empty( $meta['title'] ) && mbstring_binary_safe_strlen( $exif['ImageDescription'] ) < 80 ) { 331 331 // Assume the title is stored in ImageDescription 332 332 $meta['title'] = trim( $exif['ImageDescription'] );
Note: See TracChangeset
for help on using the changeset viewer.