mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
leave my textarea opened, kthx
git-svn-id: http://svn.automattic.com/wordpress/trunk@1839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ee2e45faab
commit
b3547b3d8c
@ -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 {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user