Docs: Update the return type for `get_active_blog_for_user()`
This is now a `WP_Site` object. See #32450. Built from https://develop.svn.wordpress.org/trunk@36895 git-svn-id: http://core.svn.wordpress.org/trunk@36862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ba65ad94f2
commit
f917022d6f
|
@ -37,7 +37,7 @@ function get_sitestats() {
|
|||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $user_id The unique ID of the user
|
||||
* @return object|void The blog object
|
||||
* @return WP_Site|void The blog object
|
||||
*/
|
||||
function get_active_blog_for_user( $user_id ) {
|
||||
global $wpdb;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta2-36894';
|
||||
$wp_version = '4.5-beta2-36895';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue