mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 10:27:57 +01:00
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();
|
$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
Block a user