mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@51513 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
12a820379a
commit
ccbfd22833
@ -133,9 +133,9 @@ class WP_Date_Query {
|
||||
* Default empty.
|
||||
* @type int|int[] $hour Optional. The hour of the day. Accepts numbers 0-23 or an array
|
||||
* of valid numbers if `$compare` supports it. Default empty.
|
||||
* @type int|int[] $minute Optional. The minute of the hour. Accepts numbers 0-60 or an array
|
||||
* @type int|int[] $minute Optional. The minute of the hour. Accepts numbers 0-59 or an array
|
||||
* of valid numbers if `$compare` supports it. Default empty.
|
||||
* @type int|int[] $second Optional. The second of the minute. Accepts numbers 0-60 or an
|
||||
* @type int|int[] $second Optional. The second of the minute. Accepts numbers 0-59 or an
|
||||
* array of valid numbers if `$compare` supports it. Default empty.
|
||||
* }
|
||||
* }
|
||||
|
||||
@ -719,7 +719,7 @@ class WP_Query {
|
||||
* return posts containing 'pillow' but not 'sofa'. The
|
||||
* character used for exclusion can be modified using the
|
||||
* the 'wp_query_search_exclusion_prefix' filter.
|
||||
* @type int $second Second of the minute. Default empty. Accepts numbers 0-60.
|
||||
* @type int $second Second of the minute. Default empty. Accepts numbers 0-59.
|
||||
* @type bool $sentence Whether to search by phrase. Default false.
|
||||
* @type bool $suppress_filters Whether to suppress filters. Default false.
|
||||
* @type string $tag Tag slug. Comma-separated (either), Plus-separated (all).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user