From 72f6ea5d768ee02fd9d169490d4e3dac385182ff Mon Sep 17 00:00:00 2001 From: desrosj Date: Wed, 10 Jun 2020 17:46:05 +0000 Subject: [PATCH] Editor: Prevent HTML decoding on by setting the proper editor context. Merges [47948] to the 5.4 branch. Props: sstoqnov. Built from https://develop.svn.wordpress.org/branches/5.4@47954 git-svn-id: http://core.svn.wordpress.org/branches/5.4@47726 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index eba2c8b8db..f6a785e51d 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -3231,7 +3231,7 @@ function edit_form_image_editor( $post ) { ?> - post_content, 'attachment_content', $editor_args ); ?> + post_content ), 'attachment_content', $editor_args ); ?>