Docs: Remove obsolete $wpdb global references in WP_User::__construct() and WP_User::for_blog().

Props mt8.biz.
Fixes #44295.
Built from https://develop.svn.wordpress.org/trunk@43330


git-svn-id: http://core.svn.wordpress.org/trunk@43158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-06-28 02:23:02 +00:00
parent fa5cf0a7d6
commit 9ba957770e
2 changed files with 1 additions and 5 deletions

View File

@ -113,8 +113,6 @@ class WP_User {
* *
* @since 2.0.0 * @since 2.0.0
* *
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB. * @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB.
* @param string $name Optional. User's username * @param string $name Optional. User's username
* @param int $site_id Optional Site ID, defaults to current site. * @param int $site_id Optional Site ID, defaults to current site.
@ -793,8 +791,6 @@ class WP_User {
* @since 3.0.0 * @since 3.0.0
* @deprecated 4.9.0 Use WP_User::for_site() * @deprecated 4.9.0 Use WP_User::for_site()
* *
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int $blog_id Optional. Site ID, defaults to current site. * @param int $blog_id Optional. Site ID, defaults to current site.
*/ */
public function for_blog( $blog_id = '' ) { public function for_blog( $blog_id = '' ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-43329'; $wp_version = '5.0-alpha-43330';
/** /**
* 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.