Make WordPress Core


Ignore:
Timestamp:
01/16/2015 10:43:13 PM (10 years ago)
Author:
wonderboymusic
Message:

Fix some erroneous @param annotations.

See #30799.

File:
1 edited

Legend:

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

    r31207 r31219  
    29722972 * @param array|int|string $terms     A single term slug, single term id, or array of either term slugs or ids.
    29732973 *                                    Will replace all existing related terms in this taxonomy.
    2974  * @param array|string     $taxonomy  The context in which to relate the term to the object.
     2974 * @param array            $taxonomy  The context in which to relate the term to the object.
    29752975 * @param bool             $append    Optional. If false will delete difference of terms. Default false.
    29762976 * @return array|WP_Error Affected Term IDs.
     
    36943694 * @since 2.3.0
    36953695 *
    3696  * @param int|array $id Term object ID
     3696 * @param int    $id      Term object ID
    36973697 * @param string $taxonomy Taxonomy Name
    36983698 * @return bool|array Empty array if $terms found, but not $taxonomy. False if nothing is in cache for $taxonomy and $id.
     
    42584258 * @param string $taxonomy Single taxonomy name
    42594259 * @param int|string|array $terms Optional. Term term_id, name, slug or array of said
    4260  * @return bool|WP_Error. WP_Error on input error.
     4260 * @return bool|WP_Error WP_Error on input error.
    42614261 */
    42624262function is_object_in_term( $object_id, $taxonomy, $terms = null ) {
Note: See TracChangeset for help on using the changeset viewer.