Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@17001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1126,7 +1126,7 @@ function force_balance_tags( $text ) {
|
||||
function format_to_edit($content, $richedit = false) {
|
||||
$content = apply_filters('format_to_edit', $content);
|
||||
if (! $richedit )
|
||||
$content = htmlspecialchars($content);
|
||||
$content = esc_textarea($content);
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user