From 88df6476cd874d91078485e19db1ffe270b43557 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 4 Jun 2018 13:38:33 +0000 Subject: [PATCH] Docs: Remove obsolete `$wpdb` global references in `WP_User::__construct()` and `WP_User::for_blog()`. Props mt8.biz. Fixes #44295. git-svn-id: https://develop.svn.wordpress.org/trunk@43330 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-user.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wp-includes/class-wp-user.php b/src/wp-includes/class-wp-user.php index c43d5ee2a8..46aa0beb8f 100644 --- a/src/wp-includes/class-wp-user.php +++ b/src/wp-includes/class-wp-user.php @@ -113,8 +113,6 @@ class WP_User { * * @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 string $name Optional. User's username * @param int $site_id Optional Site ID, defaults to current site. @@ -793,8 +791,6 @@ class WP_User { * @since 3.0.0 * @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. */ public function for_blog( $blog_id = '' ) {