WordPress.org

Make WordPress Core

Changeset 43330


Ignore:
Timestamp:
06/04/2018 01:38:33 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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

Props mt8.biz.
Fixes #44295.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-user.php

    r42876 r43330  
    114114     * @since 2.0.0
    115115     *
    116      * @global wpdb $wpdb WordPress database abstraction object.
    117      *
    118116     * @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB.
    119117     * @param string $name Optional. User's username
     
    794792     * @deprecated 4.9.0 Use WP_User::for_site()
    795793     *
    796      * @global wpdb $wpdb WordPress database abstraction object.
    797      *
    798794     * @param int $blog_id Optional. Site ID, defaults to current site.
    799795     */
Note: See TracChangeset for help on using the changeset viewer.