From ed2fff61d771461621fd56f706dd63c2917a1cf5 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Wed, 8 Aug 2018 19:22:39 +0000 Subject: [PATCH] Correct param documentation for `WP_Term_Query`. The description of `$meta_type` introduced in [40053] was incorrect. Props dlh. Fixes #44608. git-svn-id: https://develop.svn.wordpress.org/trunk@43559 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-term-query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-term-query.php b/src/wp-includes/class-wp-term-query.php index 5890bf714a..3fec7e26ff 100644 --- a/src/wp-includes/class-wp-term-query.php +++ b/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, 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. * } */