Changeset 36430 for branches/4.4/src/wp-admin/includes/image.php
- Timestamp:
- 02/01/2016 02:57:53 PM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-admin/includes/image.php
r35554 r36430 409 409 } 410 410 411 foreach ( $meta as &$value ) { 412 if ( is_string( $value ) ) { 413 $value = wp_kses_post( $value ); 414 } 415 } 411 foreach ( $meta['keywords'] as $key => $keyword ) { 412 if ( ! seems_utf8( $keyword ) ) { 413 $meta['keywords'][ $key ] = utf8_encode( $keyword ); 414 } 415 } 416 417 $meta = wp_kses_post_deep( $meta ); 416 418 417 419 /**
Note: See TracChangeset
for help on using the changeset viewer.