Docs: Add a @global entry for $wpdb in is_user_member_of_blog().

Props ajayghaghretiya1.
Fixes #41308.
Built from https://develop.svn.wordpress.org/trunk@41039


git-svn-id: http://core.svn.wordpress.org/trunk@40889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-07-13 13:54:41 +00:00
parent 65e2935636
commit 8cfdf4dd3a
2 changed files with 3 additions and 1 deletions

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

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-41037'; $wp_version = '4.9-alpha-41039';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.