Make WordPress Core


Ignore:
Timestamp:
08/18/2022 11:26:54 AM (4 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in WP_Tax_Query class, as per docblocks standards.

See #55646.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-tax-query.php

    r53037 r53905  
    123123
    124124        /**
    125          * Ensure the 'tax_query' argument passed to the class constructor is well-formed.
     125         * Ensures the 'tax_query' argument passed to the class constructor is well-formed.
    126126         *
    127127         * Ensures that each query-level clause has a 'relation' key, and that
     
    197197
    198198        /**
    199          * Sanitize a 'relation' operator.
     199         * Sanitizes a 'relation' operator.
    200200         *
    201201         * @since 4.1.0
     
    213213
    214214        /**
    215          * Determine whether a clause is first-order.
     215         * Determines whether a clause is first-order.
    216216         *
    217217         * A "first-order" clause is one that contains any of the first-order
     
    252252
    253253        /**
    254          * Generate SQL clauses to be appended to a main query.
     254         * Generates SQL clauses to be appended to a main query.
    255255         *
    256256         * Called by the public WP_Tax_Query::get_sql(), this method
     
    282282
    283283        /**
    284          * Generate SQL clauses for a single query array.
     284         * Generates SQL clauses for a single query array.
    285285         *
    286286         * If nested subqueries are found, this method recurses the tree to
     
    366366
    367367        /**
    368          * Generate SQL JOIN and WHERE clauses for a "first-order" query clause.
     368         * Generates SQL JOIN and WHERE clauses for a "first-order" query clause.
    369369         *
    370370         * @since 4.1.0
     
    484484
    485485        /**
    486          * Identify an existing table alias that is compatible with the current query clause.
     486         * Identifies an existing table alias that is compatible with the current query clause.
    487487         *
    488488         * We avoid unnecessary table joins by allowing each clause to look for
Note: See TracChangeset for help on using the changeset viewer.