Make WordPress Core


Ignore:
Timestamp:
10/16/2017 06:37:35 PM (7 years ago)
Author:
boonebgorges
Message:

Taxonomy: Add note about $number inconsistency to WP_Term_Query docs.

Fixes #41796.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-term-query.php

    r41880 r41881  
    118118     *                                                non-empty, $exclude_tree is ignored. Default empty array.
    119119     *     @type int|string   $number                 Maximum number of terms to return. Accepts ''|0 (all) or any
    120      *                                                positive number. Default ''|0 (all).
     120     *                                                positive number. Default ''|0 (all). Note that $number may
     121     *                                                not return accurate results when coupled with $object_ids.
     122     *                                                See #41796 for details.
    121123     *     @type int          $offset                 The number by which to offset the terms query. Default empty.
    122124     *     @type string       $fields                 Term fields to query for. Accepts 'all' (returns an array of
Note: See TracChangeset for help on using the changeset viewer.