Make WordPress Core

Changeset 55311

Timestamp:
02/13/2023 09:19:43 AM (18 months ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for WP_Meta_Query related function descriptions, as per docblocks standards.

See #56792.

File:
1 edited

Legend:

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

    r54133 r55311  
    181181
    182182    /**
    183      * Ensure the 'meta_query' argument passed to the class constructor is well-formed.
     183     * Ensure the 'meta_query' argument passed to the class constructor is well-formed.
    184184     *
    185185     * Eliminates empty items and ensures that a 'relation' is set.
     
    248248
    249249    /**
    250      * Determine whether a query clause is first-order.
     250     * Determine whether a query clause is first-order.
    251251     *
    252252     * A first-order meta query clause is one that has either a 'key' or
     
    267267     * @since 3.2.0
    268268     *
    269      * @param array $qv The query variables
     269     * @param array $qv The query variables
    270270     */
    271271    public function parse_query_vars( $qv ) {
     
    310310
    311311    /**
    312      * Return the appropriate alias for the given meta type if applicable.
     312     * Return the appropriate alias for the given meta type if applicable.
    313313     *
    314314     * @since 3.7.0
     
    396396
    397397    /**
    398      * Generate SQL clauses to be appended to a main query.
     398     * Generate SQL clauses to be appended to a main query.
    399399     *
    400400     * Called by the public WP_Meta_Query::get_sql(), this method is abstracted
     
    426426
    427427    /**
    428      * Generate SQL clauses for a single query array.
     428     * Generate SQL clauses for a single query array.
    429429     *
    430430     * If nested subqueries are found, this method recurses the tree to
     
    510510
    511511    /**
    512      * Generate SQL JOIN and WHERE clauses for a first-order query clause.
     512     * Generate SQL JOIN and WHERE clauses for a first-order query clause.
    513513     *
    514514     * "First-order" means that it's an array with a 'key' or 'value'.
     
    793793
    794794    /**
    795      * Get a flattened list of sanitized meta clauses.
     795     * Get a flattened list of sanitized meta clauses.
    796796     *
    797797     * This array should be used for clause lookup, as when the table alias and CAST type must be determined for
     
    807807
    808808    /**
    809      * Identify an existing table alias that is compatible with the current
     809     * Identif an existing table alias that is compatible with the current
    810810     * query clause.
    811811     *
Note: See TracChangeset for help on using the changeset viewer.