Make WordPress Core

Changeset 61723


Ignore:
Timestamp:
02/24/2026 06:29:51 AM (5 weeks ago)
Author:
audrasjb
Message:

Docs: Add missing space and remove duplicate operator values in WP_Date_Query docblocks.

Props truptikanzariya.
Fixes #64713.
See #64224.

File:
1 edited

Legend:

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

    r61463 r61723  
    9191     *
    9292     *                 @type string $year  The four-digit year. Default empty. Accepts any four-digit year.
    93      *                 @type string $month Optional when passing array.The month of the year.
     93     *                 @type string $month Optional when passing array. The month of the year.
    9494     *                                     Default (string:empty)|(array:1). Accepts numbers 1-12.
    95      *                 @type string $day   Optional when passing array.The day of the month.
     95     *                 @type string $day   Optional when passing array. The day of the month.
    9696     *                                     Default (string:empty)|(array:1). Accepts numbers 1-31.
    9797     *             }
     
    103103     *                 @type string $month Optional when passing array. The month of the year. Accepts numbers 1-12.
    104104     *                                     Default (string:empty)|(array:12).
    105      *                 @type string $day   Optional when passing array.The day of the month. Accepts numbers 1-31.
     105     *                 @type string $day   Optional when passing array. The day of the month. Accepts numbers 1-31.
    106106     *                                     Default (string:empty)|(array:last day of month).
    107107     *             }
     
    112112     *                                               of accepted values. Default is the value of top-level `$column`.
    113113     *             @type string       $compare       Optional. The comparison operator. Accepts '=', '!=', '>', '>=',
    114      *                                               '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'. 'IN',
    115      *                                               'NOT IN', 'BETWEEN', and 'NOT BETWEEN'. Comparisons support
     114     *                                               '<', '<=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'.
     115     *                                               Comparisons support
    116116     *                                               arrays in some time-related parameters. Default '='.
    117117     *             @type bool         $inclusive     Optional. Include results from dates specified in 'before' or
Note: See TracChangeset for help on using the changeset viewer.