Multisite: Fix code formatting errors from r44805
See #46351. Built from https://develop.svn.wordpress.org/trunk@44806 git-svn-id: http://core.svn.wordpress.org/trunk@44638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
446f60d2d0
commit
6969fb8001
|
@ -107,7 +107,7 @@ function wp_insert_site( array $data ) {
|
||||||
// Rebuild the data expected by the `wpmu_new_blog` hook prior to 5.1.0 using whitelisted keys.
|
// Rebuild the data expected by the `wpmu_new_blog` hook prior to 5.1.0 using whitelisted keys.
|
||||||
// The `$site_data_whitelist` matches the one used in `wpmu_create_blog()`.
|
// The `$site_data_whitelist` matches the one used in `wpmu_create_blog()`.
|
||||||
$site_data_whitelist = array( 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' );
|
$site_data_whitelist = array( 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' );
|
||||||
$meta = array_merge( array_intersect_key( $data, array_flip( $site_data_whitelist ) ), $meta );
|
$meta = array_merge( array_intersect_key( $data, array_flip( $site_data_whitelist ) ), $meta );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires immediately after a new site is created.
|
* Fires immediately after a new site is created.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-alpha-44805';
|
$wp_version = '5.2-alpha-44806';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue