summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-wp-tax-query.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/class-wp-tax-query.php')
-rw-r--r--wp-includes/class-wp-tax-query.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/class-wp-tax-query.php b/wp-includes/class-wp-tax-query.php
index 38841c4..5a489f5 100644
--- a/wp-includes/class-wp-tax-query.php
+++ b/wp-includes/class-wp-tax-query.php
@@ -202,7 +202,7 @@ class WP_Tax_Query {
* @since 4.1.0
*
* @param string $relation Raw relation key from the query argument.
- * @return string Sanitized relation ('AND' or 'OR').
+ * @return string Sanitized relation. Either 'AND' or 'OR'.
*/
public function sanitize_relation( $relation ) {
if ( 'OR' === strtoupper( $relation ) ) {
@@ -505,7 +505,7 @@ class WP_Tax_Query {
protected function find_compatible_table_alias( $clause, $parent_query ) {
$alias = false;
- // Sanity check. Only IN queries use the JOIN syntax.
+ // Confidence check. Only IN queries use the JOIN syntax.
if ( ! isset( $clause['operator'] ) || 'IN' !== $clause['operator'] ) {
return $alias;
}