Make WordPress Core

Changeset 30086


Ignore:
Timestamp:
10/29/2014 02:34:56 AM (10 years ago)
Author:
boonebgorges
Message:

Be more specific in documentation of 'slug' param for get_terms().

Props jfarthing84.
Fixes #23636.

File:
1 edited

Legend:

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

    r30077 r30086  
    15971597 *                                           term objects), 'ids' or 'names' (returns an array of integers
    15981598 *                                           or strings, respectively. Default 'all'.
    1599  *     @type string|array $slug              Optional. Slug(s) to return term(s) for. Default empty.
     1599 *     @type string|array $slug              Optional. Slug or array of slugs to return term(s) for. Default empty.
    16001600 *     @type bool         $hierarchical      Whether to include terms that have non-empty descendants (even
    16011601 *                                           if $hide_empty is set to true). Default true.
Note: See TracChangeset for help on using the changeset viewer.