Make WordPress Core

Changeset 40053


Ignore:
Timestamp:
02/10/2017 02:27:36 AM (10 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.

Location:
trunk/src/wp-includes
Files:
2 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         */
  • 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.