Small fix to [13433], see #10788

git-svn-id: http://svn.automattic.com/wordpress/trunk@13439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-02-26 19:26:51 +00:00
parent 1ef299159c
commit 84269822eb
1 changed files with 3 additions and 3 deletions

View File

@ -3447,12 +3447,12 @@ function add_site_option( $option, $value ) {
$_value = $value;
$value = maybe_serialize($value);
$result = $wpdb->insert( $wpdb->sitemeta, array('site_id' => $wpdb->siteid, 'meta_key' => $option, 'meta_value' => $value ) );
$value = $_value;
}
do_action( "add_site_option_{$option}", $option, $_value );
do_action( "add_site_option", $option, $_value );
do_action( "add_site_option_{$option}", $option, $value );
do_action( "add_site_option", $option, $value );
return $result;
}