mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: https://develop.svn.wordpress.org/trunk@2526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -53,8 +53,6 @@ case 'update':
|
||||
if ($user_level >= $option->option_admin_level) {
|
||||
$old_val = $option->option_value;
|
||||
$new_val = trim($_POST[$option->option_name]);
|
||||
if ( !$new_val && $old_val != 0 )
|
||||
$new_val = '';
|
||||
if( in_array($option->option_name, $nonbools) && ( $new_val == '0' || $new_val == '') )
|
||||
$new_val = 'closed';
|
||||
if ($new_val !== $old_val) {
|
||||
|
||||
Reference in New Issue
Block a user