Skip to content
Browse files

Docs: Correct param documentation for `WP_Term_Query`.

The description of `$meta_type` introduced in [40053] was incorrect.

Props dlh.
Merges [43559] to the 4.9 branch.
Fixes #44608.

git-svn-id: 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 3, 2018
1 parent 008a65d commit e4afee3576dad6061d21bea1e2d1b1e04104a18a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/wp-includes/class-wp-term-query.php
@@ -172,8 +172,8 @@ class WP_Term_Query {
* Can be used in conjunction with `$meta_value`. Default empty.
* @type string $meta_value Limit terms to those matching a specific metadata value.
* Usually used in conjunction with `$meta_key`. Default empty.
* @type string $meta_type Type of object metadata is for (e.g., comment, post, term, or user).
* Default empty.
* @type string $meta_type MySQL data type that the `$meta_value` will be CAST to for
* comparisons. Default empty.
* @type string $meta_compare Comparison operator to test the 'meta_value'. Default empty.
* }

0 comments on commit e4afee3

Please sign in to comment.
You can’t perform that action at this time.