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

See #32246.

Built from https://develop.svn.wordpress.org/trunk@35170


git-svn-id: http://core.svn.wordpress.org/trunk@35136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes
2015-10-14 23:44:25 +00:00
parent 43c10f7d35
commit 217b661703
41 changed files with 141 additions and 141 deletions

View File

@@ -2091,7 +2091,7 @@ function _count_posts_cache_key( $type = 'post', $perm = '' ) {
*
* @since 2.5.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $type Optional. Post type to retrieve count. Default 'post'.
* @param string $perm Optional. 'readable' or empty. Default empty.
@@ -2156,7 +2156,7 @@ function wp_count_posts( $type = 'post', $perm = '' ) {
*
* @since 2.5.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string|array $mime_type Optional. Array or comma-separated list of
* MIME patterns. Default empty.
@@ -2643,7 +2643,7 @@ function wp_trash_post_comments( $post = null ) {
*
* @since 2.9.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int|WP_Post|null $post Optional. Post ID or post object. Defaults to global $post.
* @return true|void
@@ -5200,8 +5200,7 @@ function get_private_posts_cap_sql( $post_type ) {
* @since 4.3.0 Introduced the ability to pass an array of post types to `$post_type`.
*
* @see get_private_posts_cap_sql()
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param array|string $post_type Single post type or an array of post types.
* @param bool $full Optional. Returns a full WHERE statement instead of just
@@ -5367,9 +5366,9 @@ function get_lastpostmodified( $timezone = 'server', $post_type = 'any' ) {
* @since 4.4.0 The `$post_type` argument was added.
* @access private
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $timezone The timezone for the timestamp. See {@see get_lastpostdate()}
* @param string $timezone The timezone for the timestamp. See get_lastpostdate().
* for information on accepted values.
* @param string $field Post field to check. Accepts 'date' or 'modified'.
* @param string $post_type Optional. The post type to check. Default 'any'.
@@ -5842,9 +5841,9 @@ function _update_term_count_on_transition_post_status( $new_status, $old_status,
*
* @see update_post_caches()
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param array $ids ID list
* @param array $ids ID list.
* @param bool $update_term_cache Optional. Whether to update the term cache. Default true.
* @param bool $update_meta_cache Optional. Whether to update the meta cache. Default true.
*/