From 8cfdf4dd3a282d58ca524eec742779f3ec708f65 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 13 Jul 2017 13:54:41 +0000 Subject: [PATCH] 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 --- wp-includes/user.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index f79eed67f3..5615650692 100644 --- a/wp-includes/user.php +++ b/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 diff --git a/wp-includes/version.php b/wp-includes/version.php index ccee206cfe..3b4a4445bf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.