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

See #64224

Built from https://develop.svn.wordpress.org/trunk@61449


git-svn-id: http://core.svn.wordpress.org/trunk@60761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2026-01-08 00:49:56 +00:00
parent 8b04f2cb6f
commit 5f67927f8b
5 changed files with 26 additions and 26 deletions

View File

@@ -120,7 +120,7 @@ class WP_Date_Query {
* or an array of years if `$compare` supports it. Default empty.
* @type int|int[] $month Optional. The two-digit month number. Accepts numbers 1-12 or an
* array of valid numbers if `$compare` supports it. Default empty.
* @type int|int[] $week Optional. The week number of the year. Accepts numbers 0-53 or an
* @type int|int[] $week Optional. The week number of the year. Accepts numbers 1-53 or an
* array of valid numbers if `$compare` supports it. Default empty.
* @type int|int[] $dayofyear Optional. The day number of the year. Accepts numbers 1-366 or an
* array of valid numbers if `$compare` supports it.

View File

@@ -796,7 +796,7 @@ class WP_Query {
* disable cache priming for term meta, so that each
* get_term_meta() call will hit the database.
* Defaults to the value of `$update_post_term_cache`.
* @type int $w The week number of the year. Default empty. Accepts numbers 0-53.
* @type int $w The week number of the year. Default empty. Accepts numbers 1-53.
* @type int $year The four-digit year. Default empty. Accepts any four-digit year.
* }
*/

View File

@@ -7,11 +7,6 @@
*/
return array(
array(
'handle' => 'wp-nux',
'path' => 'nux/style',
'dependencies' => array('wp-components'),
),
array(
'handle' => 'wp-preferences',
'path' => 'preferences/style',
@@ -22,6 +17,11 @@ return array(
'path' => 'list-reusable-blocks/style',
'dependencies' => array('wp-components'),
),
array(
'handle' => 'wp-nux',
'path' => 'nux/style',
'dependencies' => array('wp-components'),
),
array(
'handle' => 'wp-commands',
'path' => 'commands/style',
@@ -37,16 +37,16 @@ return array(
'path' => 'widgets/style',
'dependencies' => array('wp-block-editor', 'wp-components'),
),
array(
'handle' => 'wp-components',
'path' => 'components/style',
'dependencies' => array(),
),
array(
'handle' => 'wp-patterns',
'path' => 'patterns/style',
'dependencies' => array('wp-block-editor', 'wp-components'),
),
array(
'handle' => 'wp-components',
'path' => 'components/style',
'dependencies' => array(),
),
array(
'handle' => 'wp-format-library',
'path' => 'format-library/style',

View File

@@ -17,6 +17,11 @@ return array(
'path' => 'interactivity/index',
'asset' => 'interactivity/index.min.asset.php',
),
array(
'id' => '@wordpress/core-abilities',
'path' => 'core-abilities/index',
'asset' => 'core-abilities/index.min.asset.php',
),
array(
'id' => '@wordpress/interactivity-router',
'path' => 'interactivity-router/index',
@@ -28,9 +33,14 @@ return array(
'asset' => 'interactivity-router/full-page.min.asset.php',
),
array(
'id' => '@wordpress/core-abilities',
'path' => 'core-abilities/index',
'asset' => 'core-abilities/index.min.asset.php',
'id' => '@wordpress/abilities',
'path' => 'abilities/index',
'asset' => 'abilities/index.min.asset.php',
),
array(
'id' => '@wordpress/route',
'path' => 'route/index',
'asset' => 'route/index.min.asset.php',
),
array(
'id' => '@wordpress/latex-to-mathml',
@@ -42,21 +52,11 @@ return array(
'path' => 'latex-to-mathml/loader',
'asset' => 'latex-to-mathml/loader.min.asset.php',
),
array(
'id' => '@wordpress/abilities',
'path' => 'abilities/index',
'asset' => 'abilities/index.min.asset.php',
),
array(
'id' => '@wordpress/edit-site-init',
'path' => 'edit-site-init/index',
'asset' => 'edit-site-init/index.min.asset.php',
),
array(
'id' => '@wordpress/route',
'path' => 'route/index',
'asset' => 'route/index.min.asset.php',
),
array(
'id' => '@wordpress/lazy-editor',
'path' => 'lazy-editor/index',

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61448';
$wp_version = '7.0-alpha-61449';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.