Make WordPress Core


Ignore:
Timestamp:
11/17/2010 05:12:01 PM (14 years ago)
Author:
markjaquith
Message:

esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r16422 r16431  
    51245124            'output' => '<h4 id="%s-content-label"><label for="content">'. __('Content') .'</label></h4>
    51255125        <div class="textarea-wrap">
    5126             <textarea name="content" id="%s-content" class="mceEditor" rows="3" cols="15" tabindex="%d">'. $post->post_content.'</textarea>
     5126            <textarea name="content" id="%s-content" class="mceEditor" rows="3" cols="15" tabindex="%d">'. esc_textarea( $post->post_content ) .'</textarea>
    51275127        </div>
    51285128            '."     <script type='text/javascript'>edCanvas = document.getElementById('content');edInsertContent = null;</script>
Note: See TracChangeset for help on using the changeset viewer.