Changeset 40461
- Timestamp:
- 04/17/2017 01:06:47 PM (8 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
-
branches/4.6/src/wp-admin/includes/media.php
r40150 r40461 2965 2965 foreach ( $data[$version]['comments'] as $key => $list ) { 2966 2966 if ( 'length' !== $key && ! empty( $list ) ) { 2967 $metadata[$key] = reset( $list);2967 $metadata[$key] = wp_kses_post( reset( $list ) ); 2968 2968 // Fix bug in byte stream analysis. 2969 2969 if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) … … 3055 3055 wp_add_id3_tag_data( $metadata, $data ); 3056 3056 3057 $metadata = wp_kses_post_deep( $metadata );3058 3059 3057 return $metadata; 3060 3058 } … … 3102 3100 wp_add_id3_tag_data( $metadata, $data ); 3103 3101 3104 $metadata = wp_kses_post_deep( $metadata );3105 3106 3102 return $metadata; 3107 3103 }
Note: See TracChangeset
for help on using the changeset viewer.