Make WordPress Core

Changeset 59325


Ignore:
Timestamp:
10/30/2024 10:32:12 PM (6 weeks ago)
Author:
peterwilsoncc
Message:

Taxonomy: Remove count references from WP_Term_Query.

Remove further documentation and a code reference to the unsupported count argument within WP_Term_Query.

Follow up to [59261].

Props johnbillion.
Fixes #61094

File:
1 edited

Legend:

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

    r59261 r59325  
    207207            'offset'                 => '',
    208208            'fields'                 => 'all',
    209             'count'                  => false,
    210209            'name'                   => '',
    211210            'slug'                   => '',
     
    303302     * @param string|array $query Array or URL query string of parameters.
    304303     * @return WP_Term[]|int[]|string[]|string Array of terms, or number of terms as numeric string
    305      *                                         when 'count' is passed as a query var.
     304     *                                         when 'count' is passed to `$args['fields']`.
    306305     */
    307306    public function query( $query ) {
     
    345344     *
    346345     * @return WP_Term[]|int[]|string[]|string Array of terms, or number of terms as numeric string
    347      *                                         when 'count' is passed as a query var.
     346     *                                         when 'count' is passed to `$args['fields']`.
    348347     */
    349348    public function get_terms() {
Note: See TracChangeset for help on using the changeset viewer.