Make WordPress Core


Ignore:
Timestamp:
10/31/2014 05:55:39 PM (9 years ago)
Author:
DrewAPicture
Message:

Correct references of @uses $wpdb in core documentation to use @global.

See #30191, [30105].
Fixes #30217.

File:
1 edited

Legend:

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

    r30108 r30122  
    563563 * @since 2.3.0
    564564 *
    565  * @uses $wpdb
     565 * @global wpdb $wpdb WordPress database abstraction object.
    566566 *
    567567 * @param int|array $term_ids Term id or array of term ids of terms that will be used
     
    12621262 * @since 2.3.0
    12631263 *
    1264  * @uses $wpdb
     1264 * @global wpdb $wpdb WordPress database abstraction object.
    12651265 * @see sanitize_term_field() The $context param lists the available values for get_term_by() $filter param.
    12661266 *
     
    13571357 * @since 2.3.0
    13581358 *
    1359  * @uses $wpdb
     1359 * @global wpdb $wpdb WordPress database abstraction object.
    13601360 * @see sanitize_term_field() The $context param lists the available values for get_term_by() $filter param.
    13611361 *
     
    14471447 * @since 2.3.0
    14481448 *
    1449  * @uses $wpdb
     1449 * @global wpdb $wpdb WordPress database abstraction object.
    14501450 *
    14511451 * @param string $term_id ID of Term to get children
     
    15541554 * @since 2.3.0
    15551555 *
    1556  * @global wpdb $wpdb WordPress database access abstraction object.
     1556 * @global wpdb $wpdb WordPress database abstraction object.
    15571557 *
    15581558 * @param string|array $taxonomies Taxonomy name or list of Taxonomy names.
     
    20042004 * @since 3.0.0
    20052005 *
    2006  * @uses $wpdb
     2006 * @global wpdb $wpdb WordPress database abstraction object.
    20072007 *
    20082008 * @param int|string $term The term to check
     
    21442144 * @since 2.3.0
    21452145 *
    2146  * @uses $wpdb
     2146 * @global wpdb $wpdb WordPress database abstraction object.
    21472147 *
    21482148 * @param string $field Term field to sanitize
     
    23642364 * @since 2.3.0
    23652365 *
    2366  * @uses $wpdb
     2366 * @global wpdb $wpdb WordPress database abstraction object.
    23672367 *
    23682368 * @param int $term Term ID
     
    25632563 *
    25642564 * @since 2.3.0
    2565  * @uses $wpdb
     2565 *
     2566 * @global wpdb $wpdb WordPress database abstraction object.
    25662567 *
    25672568 * @param int|array $object_ids The ID(s) of the object(s) to retrieve.
     
    27342735 * or the term slug and name are not unique, a WP_Error object will be returned.
    27352736 *
    2736  * @global wpdb $wpdb The WordPress database object.
     2737 * @global wpdb $wpdb WordPress database abstraction object.
    27372738
    27382739 * @since 2.3.0
     
    30903091 *
    30913092 * @since 3.6.0
    3092  * @uses $wpdb
     3093 *
     3094 * @global wpdb $wpdb WordPress database abstraction object.
    30933095 *
    30943096 * @param int $object_id The ID of the object from which the terms will be removed.
     
    31783180 *
    31793181 * @since 2.3.0
    3180  * @uses $wpdb
     3182 *
     3183 * @global wpdb $wpdb WordPress database abstraction object.
    31813184 *
    31823185 * @param string $slug The string that will be tried for a unique slug
     
    32503253 * @since 2.3.0
    32513254 *
    3252  * @uses $wpdb
     3255 * @global wpdb $wpdb WordPress database abstraction object.
    32533256 *
    32543257 * @param int $term_id The ID of the term
     
    34953498 *
    34963499 * @since 2.3.0
    3497  * @uses $wpdb
     3500 *
     3501 * @global wpdb $wpdb WordPress database abstraction object.
    34983502 *
    34993503 * @param int|array $terms The term_taxonomy_id of the terms
     
    36083612 *
    36093613 * @since 2.3.0
    3610  * @uses $wpdb
     3614 *
     3615 * @global wpdb $wpdb WordPress database abstraction object.
    36113616 *
    36123617 * @param int|array $ids Single or list of Term IDs
     
    38713876 * @access private
    38723877 * @since 2.3.0
    3873  * @uses $wpdb
     3878 *
     3879 * @global wpdb $wpdb WordPress database abstraction object.
    38743880 *
    38753881 * @param array $terms List of Term IDs
     
    39353941 * @access private
    39363942 * @since 2.3.0
    3937  * @uses $wpdb
     3943 *
     3944 * @global wpdb $wpdb WordPress database abstraction object.
    39383945 *
    39393946 * @param array $terms List of Term taxonomy IDs
     
    39833990 *
    39843991 * @since 3.3.0
    3985  * @uses $wpdb
     3992 *
     3993 * @global wpdb $wpdb WordPress database abstraction object.
    39863994 *
    39873995 * @param array $terms List of Term taxonomy IDs
Note: See TracChangeset for help on using the changeset viewer.