- Timestamp:
- 04/10/2017 01:27:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r40148 r40400 2983 2983 foreach ( $data[$version]['comments'] as $key => $list ) { 2984 2984 if ( 'length' !== $key && ! empty( $list ) ) { 2985 $metadata[$key] = reset( $list);2985 $metadata[$key] = wp_kses_post( reset( $list ) ); 2986 2986 // Fix bug in byte stream analysis. 2987 2987 if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) … … 3073 3073 wp_add_id3_tag_data( $metadata, $data ); 3074 3074 3075 $metadata = wp_kses_post_deep( $metadata );3076 3077 3075 return $metadata; 3078 3076 } … … 3120 3118 wp_add_id3_tag_data( $metadata, $data ); 3121 3119 3122 $metadata = wp_kses_post_deep( $metadata );3123 3124 3120 return $metadata; 3125 3121 }
Note: See TracChangeset
for help on using the changeset viewer.