WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/14/2015 11:43:10 PM (5 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/user-functions.php

    r35116 r35170  
    275275 *              of post types to `$post_type`.
    276276 *
    277  * @global wpdb $wpdb WordPress database object for queries.
     277 * @global wpdb $wpdb WordPress database abstraction object.
    278278 *
    279279 * @param int          $userid      User ID.
     
    309309 * @since 3.0.0
    310310 *
    311  * @global wpdb $wpdb
     311 * @global wpdb $wpdb WordPress database abstraction object.
    312312 *
    313313 * @param array        $users       Array of user IDs.
     
    369369 * @since 2.0.0
    370370 *
    371  * @global wpdb $wpdb WordPress database object for queries.
     371 * @global wpdb $wpdb WordPress database abstraction object.
    372372 *
    373373 * @param string $option     User option name.
     
    421421 * @since 2.0.0
    422422 *
    423  * @global wpdb $wpdb WordPress database object for queries.
     423 * @global wpdb $wpdb WordPress database abstraction object.
    424424 *
    425425 * @param int    $user_id     User ID.
     
    449449 * @since 3.0.0
    450450 *
    451  * @global wpdb $wpdb WordPress database object for queries.
     451 * @global wpdb $wpdb WordPress database abstraction object.
    452452 *
    453453 * @param int    $user_id     User ID
     
    491491 * @since 3.0.0
    492492 *
    493  * @global wpdb $wpdb WordPress database object for queries.
     493 * @global wpdb $wpdb WordPress database abstraction object.
    494494 *
    495495 * @param int  $user_id User ID
     
    738738 * @since 4.4.0 The number of users with no role is now included in the `none` element.
    739739 *
    740  * @global wpdb $wpdb
     740 * @global wpdb $wpdb WordPress database abstraction object.
    741741 *
    742742 * @param string $strategy 'time' or 'memory'
     
    12311231 *              methods for new installs. See wp_get_user_contact_methods().
    12321232 *
    1233  * @global wpdb $wpdb WordPress database object for queries.
     1233 * @global wpdb $wpdb WordPress database abstraction object.
    12341234 *
    12351235 * @param array|object|WP_User $userdata {
Note: See TracChangeset for help on using the changeset viewer.