mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-18 14:21:25 +01:00
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
This commit is contained in:
parent
183165304f
commit
37cc6aacc1
@ -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
|
* Ensures that each query-level clause has a 'relation' key, and that
|
||||||
* each first-order clause contains all the necessary keys from `$defaults`.
|
* 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
|
* @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
|
* A "first-order" clause is one that contains any of the first-order
|
||||||
* clause keys ('terms', 'taxonomy', 'include_children', 'field',
|
* 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
|
* Called by the public WP_Tax_Query::get_sql(), this method
|
||||||
* is abstracted out to maintain parity with the other Query classes.
|
* 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
|
* If nested subqueries are found, this method recurses the tree to
|
||||||
* produce the properly nested SQL.
|
* 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
|
* @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
|
* We avoid unnecessary table joins by allowing each clause to look for
|
||||||
* an existing table alias that is compatible with the query that it
|
* an existing table alias that is compatible with the query that it
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user