Changeset 40462
- Timestamp:
- 04/17/2017 01:14:01 PM (8 years ago)
- Location:
- branches/4.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
-
branches/4.5/src/wp-admin/includes/media.php
r40151 r40462 2952 2952 foreach ( $data[$version]['comments'] as $key => $list ) { 2953 2953 if ( 'length' !== $key && ! empty( $list ) ) { 2954 $metadata[$key] = reset( $list);2954 $metadata[$key] = wp_kses_post( reset( $list ) ); 2955 2955 // Fix bug in byte stream analysis. 2956 2956 if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) … … 3042 3042 wp_add_id3_tag_data( $metadata, $data ); 3043 3043 3044 $metadata = wp_kses_post_deep( $metadata );3045 3046 3044 return $metadata; 3047 3045 } … … 3089 3087 wp_add_id3_tag_data( $metadata, $data ); 3090 3088 3091 $metadata = wp_kses_post_deep( $metadata );3092 3093 3089 return $metadata; 3094 3090 }
Note: See TracChangeset
for help on using the changeset viewer.