Make WordPress Core


Ignore:
Timestamp:
01/08/2026 12:47:29 AM (5 months ago)
Author:
johnbillion
Message:

Docs: Correct the documented value ranges for query parameters relating to week numbers.

See #64224

File:
1 edited

Legend:

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

    r61191 r61449  
    121121     *             @type int|int[]    $month         Optional. The two-digit month number. Accepts numbers 1-12 or an
    122122     *                                               array of valid numbers if `$compare` supports it. Default empty.
    123      *             @type int|int[]    $week          Optional. The week number of the year. Accepts numbers 0-53 or an
     123     *             @type int|int[]    $week          Optional. The week number of the year. Accepts numbers 1-53 or an
    124124     *                                               array of valid numbers if `$compare` supports it. Default empty.
    125125     *             @type int|int[]    $dayofyear     Optional. The day number of the year. Accepts numbers 1-366 or an
Note: See TracChangeset for help on using the changeset viewer.