Make WordPress Core

Ticket #23636: 23636.3.patch

File 23636.3.patch, 1.0 KB (added by jfarthing84, 10 years ago)

Make the 'slug' parameter description more verbose.

  • wp-includes/taxonomy.php

     
    15941594 *     @type string       $fields            Term fields to query for. Accepts 'all' (returns an array of
    15951595 *                                           term objects), 'ids' or 'names' (returns an array of integers
    15961596 *                                           or strings, respectively. Default 'all'.
    1597  *     @type string|array $slug              Optional. Slug(s) to return term(s) for. Default empty.
     1597 *     @type string|array $slug              Optional. Slug or array of slugs to return term(s) for. Default empty.
    15981598 *     @type bool         $hierarchical      Whether to include terms that have non-empty descendants (even
    15991599 *                                           if $hide_empty is set to true). Default true.
    16001600 *     @type string       $search            Search criteria to match terms. Will be SQL-formatted with