[wp-cvs] wordpress/wp-admin options.php,1.38,1.39
Matthew Mullenweg
saxmatt at users.sourceforge.net
Fri Jan 7 01:39:21 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19454/wp-admin
Modified Files:
options.php
Log Message:
Trim updated options.
Index: options.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** options.php 12 Dec 2004 20:41:14 -0000 1.38
--- options.php 7 Jan 2005 01:39:18 -0000 1.39
***************
*** 49,53 ****
if ($user_level >= $option->option_admin_level) {
$old_val = $option->option_value;
! $new_val = wp_specialchars($_POST[$option->option_name]);
if (!$new_val) {
if (3 == $option->option_type)
--- 49,53 ----
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)
More information about the cvs
mailing list