mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -5123,7 +5123,7 @@ function wp_quickpress_form( $args = array(), $post_type = 'post'){
|
||||
'capability' => '',
|
||||
'output' => '<h4 id="%s-content-label"><label for="content">'. __('Content') .'</label></h4>
|
||||
<div class="textarea-wrap">
|
||||
<textarea name="content" id="%s-content" class="mceEditor" rows="3" cols="15" tabindex="%d">'. $post->post_content.'</textarea>
|
||||
<textarea name="content" id="%s-content" class="mceEditor" rows="3" cols="15" tabindex="%d">'. esc_textarea( $post->post_content ) .'</textarea>
|
||||
</div>
|
||||
'." <script type='text/javascript'>edCanvas = document.getElementById('content');edInsertContent = null;</script>
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user