From 37cc6aacc194e685a91b670eb2e570cb1c1c0388 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 18 Aug 2022 11:28:12 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for function descriptions in `WP_Tax_Query` class, as per docblocks standards. See #55646. Built from https://develop.svn.wordpress.org/trunk@53905 git-svn-id: http://core.svn.wordpress.org/trunk@53464 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-tax-query.php | 14 +++++++------- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/class-wp-tax-query.php b/wp-includes/class-wp-tax-query.php index 862a28f768..9f4aeaaa76 100644 --- a/wp-includes/class-wp-tax-query.php +++ b/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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 09934f7c9c..bc461787f0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53904'; +$wp_version = '6.1-alpha-53905'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.