mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-23 13:24:57 +02:00
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
This commit is contained in:
parent
acea6cbad8
commit
fafa1dfa07
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user