Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454

git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-12-16 17:48:20 +00:00
parent c561de13d4
commit de072fe02a
4 changed files with 8 additions and 5 deletions

View File

@@ -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;
}