Docs: Update the return type for `get_current_site()`
This is now a `WP_Network` object. See #32246. Built from https://develop.svn.wordpress.org/trunk@36893 git-svn-id: http://core.svn.wordpress.org/trunk@36860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c9c4b2698
commit
80dd53519d
|
@ -1590,9 +1590,9 @@ function wpmu_welcome_user_notification( $user_id, $password, $meta = array() )
|
|||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global object $current_site
|
||||
* @global WP_Network $current_site
|
||||
*
|
||||
* @return object
|
||||
* @return WP_Network
|
||||
*/
|
||||
function get_current_site() {
|
||||
global $current_site;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta2-36892';
|
||||
$wp_version = '4.5-beta2-36893';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue