Commit 5f67927f8b for wordpress.org
commit 5f67927f8b26785ea52ab78bfd515afe56055115
Author: John Blackbourn <johnbillion@git.wordpress.org>
Date: Thu Jan 8 00:49:56 2026 +0000
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
diff --git a/wp-includes/class-wp-date-query.php b/wp-includes/class-wp-date-query.php
index 0030d07152..2dc1d244f5 100644
--- a/wp-includes/class-wp-date-query.php
+++ b/wp-includes/class-wp-date-query.php
@@ -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.
diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php
index 3268351e99..ad2dda7827 100644
--- a/wp-includes/class-wp-query.php
+++ b/wp-includes/class-wp-query.php
@@ -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.
* }
*/
diff --git a/wp-includes/css/dist/index.php b/wp-includes/css/dist/index.php
index 131073e888..48ef5c72fc 100644
--- a/wp-includes/css/dist/index.php
+++ b/wp-includes/css/dist/index.php
@@ -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',
diff --git a/wp-includes/js/dist/script-modules/index.php b/wp-includes/js/dist/script-modules/index.php
index deed3c4856..fbcfc04cca 100644
--- a/wp-includes/js/dist/script-modules/index.php
+++ b/wp-includes/js/dist/script-modules/index.php
@@ -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',
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 1179adff78..ef23f81f2c 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -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.