Fix typo in [13673]. see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13677 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
403bf947e1
commit
c5e62bc71b
|
@ -515,7 +515,7 @@ function update_option( $option, $newvalue ) {
|
|||
$alloptions = wp_load_alloptions();
|
||||
if ( isset( $alloptions[$option] ) ) {
|
||||
$alloptions[$option] = $_newvalue;
|
||||
wp_cache_set( 'alloptions', $_alloptions, 'options' );
|
||||
wp_cache_set( 'alloptions', $alloptions, 'options' );
|
||||
} else {
|
||||
wp_cache_set( $option, $_newvalue, 'options' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue