Make WordPress Core

Changeset 11983


Ignore:
Timestamp:
09/29/2009 10:28:08 AM (15 years ago)
Author:
azaozz
Message:

htmlspecialchars after apply_filters, props Viper007Bond, see #10858

File:
1 edited

Legend:

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

    r11975 r11983  
    21422142                if ( $user_can ) { ?>
    21432143                <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden">
    2144                 <textarea class="comment" rows="1" cols="1"><?php echo apply_filters( 'comment_edit_pre', htmlspecialchars($comment->comment_content, ENT_QUOTES) ); ?></textarea>
     2144                <textarea class="comment" rows="1" cols="1"><?php echo htmlspecialchars( apply_filters('comment_edit_pre', $comment->comment_content), ENT_QUOTES ); ?></textarea>
    21452145                <div class="author-email"><?php echo esc_attr( $comment->comment_author_email ); ?></div>
    21462146                <div class="author"><?php echo esc_attr( $comment->comment_author ); ?></div>
Note: See TracChangeset for help on using the changeset viewer.