From fafa1dfa07f146f5eae375ad2184138054354831 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 25 Jun 2017 05:48:45 +0000 Subject: [PATCH] Docs: Add more complete documentation about expected values in the `$meta` parameter for `wpmu_create_blog()`. See #41017. Built from https://develop.svn.wordpress.org/trunk@40930 git-svn-id: http://core.svn.wordpress.org/trunk@40780 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 6 +++++- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 20a183d7da..e9896d772e 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1147,7 +1147,11 @@ function wpmu_create_user( $user_name, $password, $email ) { * @param string $path The new site's path. * @param string $title The new site's title. * @param int $user_id The user ID of the new site's admin. - * @param array $meta Optional. Used to set initial site options. + * @param array $meta Optional. Array of key=>value pairs used to set initial site options. + * If valid status keys are included ('public', 'archived', 'mature', + * 'spam', 'deleted', or 'lang_id') the given site status(es) will be + * updated. Otherwise, keys and values will be used to set options for + * the new site. Default empty array. * @param int $site_id Optional. Only relevant on multi-network installs. * @return int|WP_Error Returns WP_Error object on failure, int $blog_id on success */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 0ac1198eee..6cef8d8fa5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40929'; +$wp_version = '4.9-alpha-40930'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.