Changeset 40463 for branches/4.4/src/wp-admin/includes/media.php
- Timestamp:
- 04/17/2017 01:16:31 PM (8 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-admin/includes/media.php
r40152 r40463 2939 2939 foreach ( $data[$version]['comments'] as $key => $list ) { 2940 2940 if ( 'length' !== $key && ! empty( $list ) ) { 2941 $metadata[$key] = reset( $list);2941 $metadata[$key] = wp_kses_post( reset( $list ) ); 2942 2942 // Fix bug in byte stream analysis. 2943 2943 if ( 'terms_of_use' === $key && 0 === strpos( $metadata[$key], 'yright notice.' ) ) … … 3029 3029 wp_add_id3_tag_data( $metadata, $data ); 3030 3030 3031 $metadata = wp_kses_post_deep( $metadata );3032 3033 3031 return $metadata; 3034 3032 } … … 3076 3074 wp_add_id3_tag_data( $metadata, $data ); 3077 3075 3078 $metadata = wp_kses_post_deep( $metadata );3079 3080 3076 return $metadata; 3081 3077 }
Note: See TracChangeset
for help on using the changeset viewer.