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
This commit is contained in:
Sergey Biryukov 2017-07-13 13:53:28 +00:00
parent 834c29fbc6
commit 517e11f834

View File

@ -694,6 +694,8 @@ function get_blogs_of_user( $user_id, $all = false ) {
* *
* @since MU 1.1 * @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 $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. * @param int $blog_id Optional. ID of the blog to check. Defaults to the current site.
* @return bool * @return bool