mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
git-svn-id: http://svn.automattic.com/wordpress/trunk@16502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e3d61691fa
commit
49fd963999
@ -380,7 +380,7 @@ function post_categories_meta_box( $post, $box ) {
|
||||
*/
|
||||
function post_excerpt_meta_box($post) {
|
||||
?>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<?php
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user