WordPress.org

Make WordPress Core

Changeset 31221


Ignore:
Timestamp:
01/16/2015 11:26:38 PM (6 years ago)
Author:
wonderboymusic
Message:

wp_set_object_terms() takes $taxonomy as a string. Update @param.
See #30799.

File:
1 edited

Legend:

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

    r31219 r31221  
    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            $taxonomy  The context in which to relate the term to the object.
     2974 * @param string           $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.
Note: See TracChangeset for help on using the changeset viewer.