Changeset 40460
- Timestamp:
- 04/17/2017 12:59:21 PM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-admin/includes/media.php
r40149 r40460 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.