Editor: Prevent HTML decoding on by setting the proper editor context.
Props: sstoqnov. git-svn-id: https://develop.svn.wordpress.org/trunk@47948 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fe83aca573
commit
ad0a0a1ec1
@ -3233,7 +3233,7 @@ function edit_form_image_editor( $post ) {
|
||||
|
||||
?>
|
||||
</label>
|
||||
<?php wp_editor( $post->post_content, 'attachment_content', $editor_args ); ?>
|
||||
<?php wp_editor( format_to_edit( $post->post_content ), 'attachment_content', $editor_args ); ?>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user