Make WordPress Core


Ignore:
Timestamp:
02/10/2017 02:27:36 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing meta_type and meta_compare arguments to WP_Term_Query::__construct() and get_terms() docblocks.

Props 1naveengiri.
Fixes #39825.

File:
1 edited

Legend:

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

    r39675 r40053  
    174174     *                                                See `WP_Meta_Query`. Default empty.
    175175     *     @type string       $meta_key               Limit terms to those matching a specific metadata key.
    176      *                                                Can be used in conjunction with `$meta_value`.
     176     *                                                Can be used in conjunction with `$meta_value`. Default empty.
    177177     *     @type string       $meta_value             Limit terms to those matching a specific metadata value.
    178      *                                                Usually used in conjunction with `$meta_key`.
     178     *                                                Usually used in conjunction with `$meta_key`. Default empty.
     179     *     @type string       $meta_type              Type of object metadata is for (e.g., comment, post, or user).
     180     *                                                Default empty.
     181     *     @type string       $meta_compare           Comparison operator to test the 'meta_value'. Default empty.
    179182     * }
    180183     */
Note: See TracChangeset for help on using the changeset viewer.