From 517e11f8344b37793f004c1301271ea8883d168b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 13 Jul 2017 13:53:28 +0000 Subject: [PATCH] Docs: Add a `@global` entry for `$wpdb` in `is_user_member_of_blog()`. Props ajayghaghretiya1. Fixes #41308. git-svn-id: https://develop.svn.wordpress.org/trunk@41039 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index f79eed67f3..5615650692 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -694,6 +694,8 @@ function get_blogs_of_user( $user_id, $all = false ) { * * @since MU 1.1 * + * @global wpdb $wpdb WordPress database abstraction object. + * * @param int $user_id Optional. The unique ID of the user. Defaults to the current user. * @param int $blog_id Optional. ID of the blog to check. Defaults to the current site. * @return bool