Fix typo in [13673]. see #12416
git-svn-id: http://svn.automattic.com/wordpress/trunk@13677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a4776498d3
commit
f2a177c418
|
@ -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