Make WordPress Core


Ignore:
Timestamp:
10/14/2015 11:43:10 PM (11 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places.

See #32246.

File:
1 edited

Legend:

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

    r34466 r35170  
    103103
    104104        /**
    105          * Constructor
    106          *
    107          * Retrieves the userdata and passes it to {@link WP_User::init()}.
    108          *
    109          * @since 2.0.0
    110          * @access public
    111          *
    112          * @global wpdb $wpdb
     105         * Constructor.
     106         *
     107         * Retrieves the userdata and passes it to WP_User::init().
     108         *
     109         * @since 2.0.0
     110         * @access public
     111         *
     112         * @global wpdb $wpdb WordPress database abstraction object.
    113113         *
    114114         * @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB.
     
    176176         * @static
    177177         *
    178          * @global wpdb $wpdb
     178         * @global wpdb $wpdb WordPress database abstraction object.
    179179         *
    180180         * @param string $field The field to query against: 'id', 'ID', 'slug', 'email' or 'login'.
     
    419419         * @since 2.1.0
    420420         *
    421          * @global wpdb $wpdb
     421         * @global wpdb $wpdb WordPress database abstraction object.
    422422         *
    423423         * @param string $cap_key Optional capability key
     
    609609         * @access public
    610610         *
    611          * @global wpdb $wpdb
     611         * @global wpdb $wpdb WordPress database abstraction object.
    612612         */
    613613        public function update_user_level_from_caps() {
     
    657657         * @access public
    658658         *
    659          * @global wpdb $wpdb
     659         * @global wpdb $wpdb WordPress database abstraction object.
    660660         */
    661661        public function remove_all_caps() {
     
    746746         * @since 3.0.0
    747747         *
    748          * @global wpdb $wpdb
     748         * @global wpdb $wpdb WordPress database abstraction object.
    749749         *
    750750         * @param int $blog_id Optional Blog ID, defaults to current blog.
Note: See TracChangeset for help on using the changeset viewer.