Make WordPress Core

Changeset 31057


Ignore:
Timestamp:
01/06/2015 03:35:56 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Fix 'compare' parameter description in WP_Date_Query.

props dlh.
fixes #30925.

File:
1 edited

Legend:

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

    r30751 r31057  
    7979     *                                'post_date_gmt', 'post_modified','post_modified_gmt', 'comment_date',
    8080     *                                'comment_date_gmt'.
    81      *         @type string $compare  Optional. The comparison operator.
    82      *                                Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN'. Default '='.
    83      *                                'BETWEEN', 'NOT BETWEEN'.
    84      *         @type string $relation Optional. The boolean relationship between the date queries.
    85      *                                Accepts 'OR', 'AND'. Default 'OR'.
     81     *         @type string $compare  Optional. The comparison operator. Default '='.
     82     *                                Accepts '=', '!=', '>', '>=', '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'.
     83     *         @type string $relation Optional. The boolean relationship between the date queries. Default 'OR'.
     84     *                                Accepts 'OR', 'AND'.
    8685     *         @type array {
    8786     *             Optional. An array of first-order clause parameters, or another fully-formed date query.
Note: See TracChangeset for help on using the changeset viewer.