WordPress.org

Make WordPress Core

Changeset 49189


Ignore:
Timestamp:
10/18/2020 08:21:06 AM (14 months ago)
Author:
DrewAPicture
Message:

Docs: Clarify documentation for what the 'count' orderby argument represents in WP_Term_Query.

Props jeremyescott.
Fixes #44443.

File:
1 edited

Legend:

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

    r49108 r49189  
    101101     *                                                  'description', 'parent', 'term_order'). Unless `$object_ids`
    102102     *                                                  is not empty, 'term_order' is treated the same as 'term_id'.
    103      *                                                - 'count' for term taxonomy count.
     103     *                                                - 'count' to use the number of objects associated with the term.
    104104     *                                                - 'include' to match the 'order' of the $include param.
    105105     *                                                - 'slug__in' to match the 'order' of the $slug param.
Note: See TracChangeset for help on using the changeset viewer.