Skip to content

Commit e4afee3

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: https://develop.svn.wordpress.org/branches/4.9@43621 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 008a65d commit e4afee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ class WP_Term_Query {
172172
* Can be used in conjunction with `$meta_value`. Default empty.
173173
* @type string $meta_value Limit terms to those matching a specific metadata value.
174174
* Usually used in conjunction with `$meta_key`. Default empty.
175-
* @type string $meta_type Type of object metadata is for (e.g., comment, post, term, or user).
176-
* Default empty.
175+
* @type string $meta_type MySQL data type that the `$meta_value` will be CAST to for
176+
* comparisons. Default empty.
177177
* @type string $meta_compare Comparison operator to test the 'meta_value'. Default empty.
178178
* }
179179
*/

0 commit comments

Comments
 (0)