Multisite: Ensure wpmu_new_blog hook receives expected data in $meta.

Restores `public`, `archived`, `mature`, `spam`, `deleted`, `lang_id`, and `WPLANG` to the `$meta` data passed to `wpmu_new_blog`. This hook was deprecated in 5.1.0, but code using it still relies on this data.

Props david.binda, pbiron.
Fixes #46351.

Built from https://develop.svn.wordpress.org/trunk@44805


git-svn-id: http://core.svn.wordpress.org/trunk@44637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt
2019-03-07 03:34:51 +00:00
parent c1cc5e3153
commit 446f60d2d0
2 changed files with 21 additions and 11 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-alpha-44804';
$wp_version = '5.2-alpha-44805';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.