Make WordPress Core


Ignore:
Timestamp:
07/30/2021 10:22:11 AM (5 years ago)
Author:
johnbillion
Message:

Docs: Correct the documented allowed range for the minute and second parameters of WP_Query.

These are correctly documented and validated in WP_Date_Query as 0-59.

See #53399

File:
1 edited

Legend:

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

    r51301 r51513  
    720720     *                                                 character used for exclusion can be modified using the
    721721     *                                                 the 'wp_query_search_exclusion_prefix' filter.
    722      *     @type int          $second                  Second of the minute. Default empty. Accepts numbers 0-60.
     722     *     @type int          $second                  Second of the minute. Default empty. Accepts numbers 0-59.
    723723     *     @type bool         $sentence                Whether to search by phrase. Default false.
    724724     *     @type bool         $suppress_filters        Whether to suppress filters. Default false.
Note: See TracChangeset for help on using the changeset viewer.