Set result of insert

git-svn-id: https://develop.svn.wordpress.org/trunk@12669 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-01-08 20:09:04 +00:00
parent bc99700623
commit fbbf18d6c7
1 changed files with 1 additions and 1 deletions

View File

@ -3282,7 +3282,7 @@ function add_site_option( $key, $value ) {
$value = maybe_serialize($value); $value = maybe_serialize($value);
$wpdb->insert( $wpdb->sitemeta, array('site_id' => $wpdb->siteid, 'meta_key' => $key, 'meta_value' => $value) ); $result = $wpdb->insert( $wpdb->sitemeta, array('site_id' => $wpdb->siteid, 'meta_key' => $key, 'meta_value' => $value) );
} }
do_action( "add_site_option_{$key}", $key, $value ); do_action( "add_site_option_{$key}", $key, $value );