WordPress.org

Make WordPress Core

Changeset 43308


Ignore:
Timestamp:
05/23/2018 02:23:53 AM (22 months ago)
Author:
boonebgorges
Message:

Taxonomy: Fix $object_ids reference in WP_Term_Query parameter documentation.

Props dlh.
Fixes #44200.

File:
1 edited

Legend:

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

    r43049 r43308  
    124124     *     @type string       $fields                 Term fields to query for. Accepts 'all' (returns an array of
    125125     *                                                complete term objects), 'all_with_object_id' (returns an
    126      *                                                array of term objects with the 'object_id' param; only works
    127      *                                                when the `$fields` parameter is 'object_ids' ), 'ids'
     126     *                                                array of term objects with the 'object_id' param; works only
     127     *                                                when the `$object_ids` parameter is populated), 'ids'
    128128     *                                                (returns an array of ids), 'tt_ids' (returns an array of
    129129     *                                                term taxonomy ids), 'id=>parent' (returns an associative
Note: See TracChangeset for help on using the changeset viewer.