Changeset 40466
- Timestamp:
- 04/17/2017 01:28:48 PM (8 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-admin/includes/media.php
r40155 r40466 2894 2894 foreach ( $data[$version]['comments'] as $key => $list ) { 2895 2895 if ( 'length' !== $key && ! empty( $list ) ) { 2896 $metadata[$key] = reset( $list);2896 $metadata[$key] = wp_kses_post( reset( $list ) ); 2897 2897 // Fix bug in byte stream analysis. 2898 2898 if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) … … 2978 2978 wp_add_id3_tag_data( $metadata, $data ); 2979 2979 2980 $metadata = wp_kses_post_deep( $metadata );2981 2982 2980 return $metadata; 2983 2981 } … … 3019 3017 wp_add_id3_tag_data( $metadata, $data ); 3020 3018 3021 $metadata = wp_kses_post_deep( $metadata );3022 3023 3019 return $metadata; 3024 3020 }
Note: See TracChangeset
for help on using the changeset viewer.