diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 6843c61b2..e95c01c9f 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -3098,7 +3098,7 @@ function wp_prepare_attachment_for_js( $attachment ) { ); $author = new WP_User( $attachment->post_author ); - $response['authorName'] = $author->display_name; + $response['authorName'] = html_entity_decode( $author->display_name, ENT_QUOTES, get_bloginfo( 'charset' ) ); if ( $attachment->post_parent ) { $post_parent = get_post( $attachment->post_parent );