Skip to content

Commit 7f38a18

Browse files
committed
Add false as possible return value for get_active_blog_for_user()
1 parent 180645c commit 7f38a18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/ms-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function get_sitestats() {
4040
* @since MU (3.0.0)
4141
*
4242
* @param int $user_id The unique ID of the user
43-
* @return WP_Site|null The blog object
43+
* @return WP_Site|null|false The blog object
4444
*/
4545
function get_active_blog_for_user( $user_id ) {
4646
$blogs = get_blogs_of_user( $user_id );

0 commit comments

Comments
 (0)