leave my textarea opened, kthx

git-svn-id: https://develop.svn.wordpress.org/trunk@1839 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-10-29 15:29:36 +00:00
parent 94d704f573
commit a82fa76aee
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ window.close()
// $post_pingback needs to be set in any file that includes edit-form.php
$post_pingback = get_settings('default_pingback_flag');
$content = $_REQUEST['content'];
$content = htmlspecialchars($_REQUEST['content']);
if (!empty($content)) {
$content = stripslashes($content);
} else {

View File

@ -650,6 +650,7 @@ default:
$post_pingback = get_settings('default_pingback_flag');
$default_post_cat = get_settings('default_category');
$content = htmlspecialchars($content);
$content = apply_filters('default_content', $content);
$edited_post_title = apply_filters('default_title', $edited_post_title);
$excerpt = apply_filters('default_excerpt', $excerpt);