Make WordPress Core


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

    r34935 r35170  
    20922092 * @since 2.5.0
    20932093 *
    2094  * @global wpdb $wpdb
     2094 * @global wpdb $wpdb WordPress database abstraction object.
    20952095 *
    20962096 * @param string $type Optional. Post type to retrieve count. Default 'post'.
     
    21572157 * @since 2.5.0
    21582158 *
    2159  * @global wpdb $wpdb
     2159 * @global wpdb $wpdb WordPress database abstraction object.
    21602160 *
    21612161 * @param string|array $mime_type Optional. Array or comma-separated list of
     
    26442644 * @since 2.9.0
    26452645 *
    2646  * @global wpdb $wpdb
     2646 * @global wpdb $wpdb WordPress database abstraction object.
    26472647 *
    26482648 * @param int|WP_Post|null $post Optional. Post ID or post object. Defaults to global $post.
     
    52015201 *
    52025202 * @see get_private_posts_cap_sql()
    5203  *
    5204  * @global wpdb $wpdb
     5203 * @global wpdb $wpdb WordPress database abstraction object.
    52055204 *
    52065205 * @param array|string   $post_type   Single post type or an array of post types.
     
    53685367 * @access private
    53695368 *
    5370  * @global wpdb $wpdb
    5371  *
    5372  * @param string $timezone  The timezone for the timestamp. See {@see get_lastpostdate()}
     5369 * @global wpdb $wpdb WordPress database abstraction object.
     5370 *
     5371 * @param string $timezone  The timezone for the timestamp. See get_lastpostdate().
    53735372 *                          for information on accepted values.
    53745373 * @param string $field     Post field to check. Accepts 'date' or 'modified'.
     
    58435842 * @see update_post_caches()
    58445843 *
    5845  * @global wpdb $wpdb
    5846  *
    5847  * @param array $ids               ID list
     5844 * @global wpdb $wpdb WordPress database abstraction object.
     5845 *
     5846 * @param array $ids               ID list.
    58485847 * @param bool  $update_term_cache Optional. Whether to update the term cache. Default true.
    58495848 * @param bool  $update_meta_cache Optional. Whether to update the meta cache. Default true.
Note: See TracChangeset for help on using the changeset viewer.