Set result of insert
git-svn-id: https://develop.svn.wordpress.org/trunk@12669 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bc99700623
commit
fbbf18d6c7
|
@ -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