[wp-cvs] wordpress/wp-admin bookmarklet.php, 1.15, 1.16 post.php,
1.106, 1.107
Michel Valdrighi
michelvaldrighi at users.sourceforge.net
Fri Oct 29 15:29:38 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7856/wp-admin
Modified Files:
bookmarklet.php post.php
Log Message:
leave my textarea opened, kthx
Index: post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** post.php 22 Oct 2004 14:41:01 -0000 1.106
--- post.php 29 Oct 2004 15:29:36 -0000 1.107
***************
*** 651,654 ****
--- 651,655 ----
$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);
Index: bookmarklet.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/bookmarklet.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** bookmarklet.php 19 Oct 2004 16:01:13 -0000 1.15
--- bookmarklet.php 29 Oct 2004 15:29:35 -0000 1.16
***************
*** 56,60 ****
$post_pingback = get_settings('default_pingback_flag');
! $content = $_REQUEST['content'];
if (!empty($content)) {
$content = stripslashes($content);
--- 56,60 ----
$post_pingback = get_settings('default_pingback_flag');
! $content = htmlspecialchars($_REQUEST['content']);
if (!empty($content)) {
$content = stripslashes($content);
More information about the cvs
mailing list