Set result of insert

git-svn-id: http://svn.automattic.com/wordpress/trunk@12669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-08 20:09:04 +00:00
parent a581554d9a
commit 34f9711beb

View File

@ -3282,7 +3282,7 @@ function add_site_option( $key, $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 );