Make WordPress Core

Ticket #39825: docs.2.patch

File docs.2.patch, 1.7 KB (added by 1naveengiri, 8 years ago)

I added docblock for these two argument in current patch.

  • wp-includes/class-wp-term-query.php

     
    176176         *                                                Can be used in conjunction with `$meta_value`.
    177177         *     @type string       $meta_value             Limit terms to those matching a specific metadata value.
    178178         *                                                Usually used in conjunction with `$meta_key`.
     179         *     @type string       $meta_type              Type of object metadata is for (e.g., comment, post, or user).
     180         *     @type string       $meta_compare           Comparison operator to test the 'meta_value'.
    179181         * }
    180182         */
    181183        public function __construct( $query = '' ) {
  • wp-includes/taxonomy.php

     
    10801080 *                                                conjunction with `$meta_value`.
    10811081 *     @type string       $meta_value             Limit terms to those matching a specific metadata value. Usually used
    10821082 *                                                in conjunction with `$meta_key`.
     1083 *     @type string       $meta_type              Type of object metadata is for (e.g., comment, post, or user).
     1084 *     @type string       $meta_compare           Comparison operator to test the 'meta_value'.
    10831085 * }
    10841086 * @param array $deprecated Argument array, when using the legacy function parameter format. If present, this
    10851087 *                          parameter will be interpreted as `$args`, and the first function parameter will