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/taxonomy.php

    r39893 r40053  
    10781078 *                                                See `WP_Meta_Query`. Default empty.
    10791079 *     @type string       $meta_key               Limit terms to those matching a specific metadata key. Can be used in
    1080  *                                                conjunction with `$meta_value`.
     1080 *                                                conjunction with `$meta_value`. Default empty.
    10811081 *     @type string       $meta_value             Limit terms to those matching a specific metadata value. Usually used
    1082  *                                                in conjunction with `$meta_key`.
     1082 *                                                in conjunction with `$meta_key`. Default empty.
     1083 *     @type string       $meta_type              Type of object metadata is for (e.g., comment, post, or user).
     1084 *                                                Default empty.
     1085 *     @type string       $meta_compare           Comparison operator to test the 'meta_value'. Default empty.
    10831086 * }
    10841087 * @param array $deprecated Argument array, when using the legacy function parameter format. If present, this
Note: See TracChangeset for help on using the changeset viewer.