Changeset 40464
- Timestamp:
- 04/17/2017 01:18:30 PM (7 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
-
branches/4.3/src/wp-admin/includes/media.php
r40153 r40464 2924 2924 foreach ( $data[$version]['comments'] as $key => $list ) { 2925 2925 if ( 'length' !== $key && ! empty( $list ) ) { 2926 $metadata[$key] = reset( $list);2926 $metadata[$key] = wp_kses_post( reset( $list ) ); 2927 2927 // Fix bug in byte stream analysis. 2928 2928 if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) … … 3008 3008 wp_add_id3_tag_data( $metadata, $data ); 3009 3009 3010 $metadata = wp_kses_post_deep( $metadata );3011 3012 3010 return $metadata; 3013 3011 } … … 3049 3047 wp_add_id3_tag_data( $metadata, $data ); 3050 3048 3051 $metadata = wp_kses_post_deep( $metadata );3052 3053 3049 return $metadata; 3054 3050 }
Note: See TracChangeset
for help on using the changeset viewer.