J. Scott's fix pretty majorly broke options. Rolback.
git-svn-id: https://develop.svn.wordpress.org/trunk@1403 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f1cdd2b2ff
commit
91d8e3dfe5
@ -74,7 +74,7 @@ $nonbools = array('default_ping_status', 'default_comment_status');
|
||||
// should we even bother checking?
|
||||
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];
|
||||
$new_val = $_POST[$option->option_name];
|
||||
if (!$new_val) {
|
||||
if (3 == $option->option_type)
|
||||
$new_val = '';
|
||||
|
Loading…
Reference in New Issue
Block a user