Set result of insert
git-svn-id: http://svn.automattic.com/wordpress/trunk@12669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a581554d9a
commit
34f9711beb
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue