Typo fix from charleshooper. fixes #3743
git-svn-id: http://svn.automattic.com/wordpress/trunk@4865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
86f90f6c3d
commit
cab399a6ae
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue