[wp-cvs] wordpress/wp-admin options.php,1.40,1.41
Matthew Mullenweg
saxmatt at users.sourceforge.net
Mon Jan 24 10:09:06 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5603/wp-admin
Modified Files:
options.php
Log Message:
Another place we need to double encode
Index: options.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** options.php 20 Jan 2005 04:56:24 -0000 1.40
--- options.php 24 Jan 2005 10:09:01 -0000 1.41
***************
*** 53,57 ****
if ($user_level >= $option->option_admin_level) {
$old_val = $option->option_value;
! $new_val = wp_specialchars( trim($_POST[$option->option_name]) );
if (!$new_val) {
if (3 == $option->option_type)
--- 53,57 ----
if ($user_level >= $option->option_admin_level) {
$old_val = $option->option_value;
! $new_val = htmlspecialchars( trim($_POST[$option->option_name]) );
if (!$new_val) {
if (3 == $option->option_type)
More information about the cvs
mailing list