mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Typo fix from charleshooper. fixes #3743
git-svn-id: https://develop.svn.wordpress.org/trunk@4865 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -329,7 +329,7 @@ function update_option($option_name, $newvalue) {
|
||||
|
||||
$alloptions = wp_load_alloptions();
|
||||
if ( isset($alloptions[$option_name]) ) {
|
||||
$alloptions[$options_name] = $newvalue;
|
||||
$alloptions[$option_name] = $newvalue;
|
||||
wp_cache_set('alloptions', $alloptions, 'options');
|
||||
} else {
|
||||
wp_cache_set($option_name, $newvalue, 'options');
|
||||
|
||||
Reference in New Issue
Block a user