WordPress.org

Make WordPress Core

Changeset 16502


Ignore:
Timestamp:
11/20/2010 06:10:07 AM (10 years ago)
Author:
ryan
Message:

Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r16445 r16502  
    381381function post_excerpt_meta_box($post) {
    382382?>
    383 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo esc_textarea( $post->post_excerpt ); ?></textarea>
     383<label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt; ?></textarea>
    384384<p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="http://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p>
    385385<?php
Note: See TracChangeset for help on using the changeset viewer.