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:
parent
ae8cc717ac
commit
81cadfe118
|
@ -329,7 +329,7 @@ function update_option($option_name, $newvalue) {
|
||||||
|
|
||||||
$alloptions = wp_load_alloptions();
|
$alloptions = wp_load_alloptions();
|
||||||
if ( isset($alloptions[$option_name]) ) {
|
if ( isset($alloptions[$option_name]) ) {
|
||||||
$alloptions[$options_name] = $newvalue;
|
$alloptions[$option_name] = $newvalue;
|
||||||
wp_cache_set('alloptions', $alloptions, 'options');
|
wp_cache_set('alloptions', $alloptions, 'options');
|
||||||
} else {
|
} else {
|
||||||
wp_cache_set($option_name, $newvalue, 'options');
|
wp_cache_set($option_name, $newvalue, 'options');
|
||||||
|
|
Loading…
Reference in New Issue