[wp-cvs] wordpress/wp-admin options.php,1.22,1.23
Matthew Mullenweg
saxmatt at users.sourceforge.net
Thu Jun 10 04:48:16 CDT 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29155/wp-admin
Modified Files:
options.php
Log Message:
J. Scott's fix pretty majorly broke options. Rolback.
Index: options.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** options.php 1 Jun 2004 10:01:15 -0000 1.22
--- options.php 10 Jun 2004 09:48:13 -0000 1.23
***************
*** 75,79 ****
if ($user_level >= $option->option_admin_level) {
$old_val = stripslashes($option->option_value);
! if(isset($_POST[$option->option_name])) $new_val = $_POST[$option->option_name];
if (!$new_val) {
if (3 == $option->option_type)
--- 75,79 ----
if ($user_level >= $option->option_admin_level) {
$old_val = stripslashes($option->option_value);
! $new_val = $_POST[$option->option_name];
if (!$new_val) {
if (3 == $option->option_type)
More information about the cvs
mailing list