From 4da6f65d885024e3f629810fdc17f7bad428591e Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 18 Aug 2022 11:26:54 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for function descriptions in `WP_Tax_Query` class, as per docblocks standards. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53905 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-tax-query.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-includes/class-wp-tax-query.php b/src/wp-includes/class-wp-tax-query.php index 862a28f768..9f4aeaaa76 100644 --- a/src/wp-includes/class-wp-tax-query.php +++ b/src/wp-includes/class-wp-tax-query.php @@ -122,7 +122,7 @@ class WP_Tax_Query { } /** - * Ensure the 'tax_query' argument passed to the class constructor is well-formed. + * Ensures the 'tax_query' argument passed to the class constructor is well-formed. * * Ensures that each query-level clause has a 'relation' key, and that * each first-order clause contains all the necessary keys from `$defaults`. @@ -196,7 +196,7 @@ class WP_Tax_Query { } /** - * Sanitize a 'relation' operator. + * Sanitizes a 'relation' operator. * * @since 4.1.0 * @@ -212,7 +212,7 @@ class WP_Tax_Query { } /** - * Determine whether a clause is first-order. + * Determines whether a clause is first-order. * * A "first-order" clause is one that contains any of the first-order * clause keys ('terms', 'taxonomy', 'include_children', 'field', @@ -251,7 +251,7 @@ class WP_Tax_Query { } /** - * Generate SQL clauses to be appended to a main query. + * Generates SQL clauses to be appended to a main query. * * Called by the public WP_Tax_Query::get_sql(), this method * is abstracted out to maintain parity with the other Query classes. @@ -281,7 +281,7 @@ class WP_Tax_Query { } /** - * Generate SQL clauses for a single query array. + * Generates SQL clauses for a single query array. * * If nested subqueries are found, this method recurses the tree to * produce the properly nested SQL. @@ -365,7 +365,7 @@ class WP_Tax_Query { } /** - * Generate SQL JOIN and WHERE clauses for a "first-order" query clause. + * Generates SQL JOIN and WHERE clauses for a "first-order" query clause. * * @since 4.1.0 * @@ -483,7 +483,7 @@ class WP_Tax_Query { } /** - * Identify an existing table alias that is compatible with the current query clause. + * Identifies an existing table alias that is compatible with the current query clause. * * We avoid unnecessary table joins by allowing each clause to look for * an existing table alias that is compatible with the query that it