mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Options fixes from donncha. fixes #1859
git-svn-id: https://develop.svn.wordpress.org/trunk@3023 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -58,6 +58,7 @@ case 'update':
|
||||
$new_val = 'closed';
|
||||
if ($new_val !== $old_val) {
|
||||
$result = $wpdb->query("UPDATE $wpdb->options SET option_value = '$new_val' WHERE option_name = '$option->option_name'");
|
||||
wp_cache_set($option->option_name, $new_val, 'options');
|
||||
$any_changed++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user