WordPress.org

Make WordPress Core

Changeset 33231


Ignore:
Timestamp:
07/13/2015 09:43:05 PM (4 years ago)
Author:
DrewAPicture
Message:

Fix inline documentation syntax in the DocBlock for WP_Meta_Query->has_or_relation(), added in 4.3.

See [32713]. See #32891.

File:
1 edited

Legend:

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

    r32713 r33231  
    15911591
    15921592    /**
    1593      * Check whether the current query has any OR relations.
    1594      *
    1595      * In some cases, the presence of an OR relation somewhere in the query will require the use of a DISTINCT or
    1596      * GROUP BY keyword in the SELECT clause. The current method can be used in these cases to determine whether
    1597      * such a clause is necessary.
     1593     * Checks whether the current query has any OR relations.
     1594     *
     1595     * In some cases, the presence of an OR relation somewhere in the query will require
     1596     * the use of a `DISTINCT` or `GROUP BY` keyword in the `SELECT` clause. The current
     1597     * method can be used in these cases to determine whether such a clause is necessary.
    15981598     *
    15991599     * @since 4.3.0
    16001600     *
    1601      * @return bool True if the query contains any OR relations, otherwise false.
     1601     * @return bool True if the query contains any `OR` relations, otherwise false.
    16021602     */
    16031603    public function has_or_relation() {
Note: See TracChangeset for help on using the changeset viewer.