Changeset 40465
- Timestamp:
- 04/17/2017 01:21:09 PM (8 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
-
branches/4.2/src/wp-admin/includes/media.php
r40154 r40465 2897 2897 foreach ( $data[$version]['comments'] as $key => $list ) { 2898 2898 if ( 'length' !== $key && ! empty( $list ) ) { 2899 $metadata[$key] = reset( $list);2899 $metadata[$key] = wp_kses_post( reset( $list ) ); 2900 2900 // Fix bug in byte stream analysis. 2901 2901 if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) … … 2981 2981 wp_add_id3_tag_data( $metadata, $data ); 2982 2982 2983 $metadata = wp_kses_post_deep( $metadata );2984 2985 2983 return $metadata; 2986 2984 } … … 3022 3020 wp_add_id3_tag_data( $metadata, $data ); 3023 3021 3024 $metadata = wp_kses_post_deep( $metadata );3025 3026 3022 return $metadata; 3027 3023 }
Note: See TracChangeset
for help on using the changeset viewer.