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 Built from https://develop.svn.wordpress.org/trunk@51513 git-svn-id: http://core.svn.wordpress.org/trunk@51124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9d6ea69d92
commit
ab9ed33f1d
|
@ -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).
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51512';
|
||||
$wp_version = '5.9-alpha-51513';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue