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:
Ryan Boren 2007-02-03 00:56:23 +00:00
parent ae8cc717ac
commit 81cadfe118
1 changed files with 1 additions and 1 deletions

View File

@ -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');