Commit 67c33bebb7 for wordpress.org
commit 67c33bebb717d84d67558c140cd3c9e94284ac9a
Author: Weston Ruter <weston@xwp.co>
Date: Sun Dec 7 01:11:33 2025 +0000
Script Loader: Re-target release for missing dependency notices from 7.0.0 to 6.9.1.
Follow-up to [61323], [60999].
See #64229.
Built from https://develop.svn.wordpress.org/trunk@61357
git-svn-id: http://core.svn.wordpress.org/trunk@60669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/class-wp-dependencies.php b/wp-includes/class-wp-dependencies.php
index 60c117d2f6..92c277e86f 100644
--- a/wp-includes/class-wp-dependencies.php
+++ b/wp-includes/class-wp-dependencies.php
@@ -111,7 +111,7 @@ class WP_Dependencies {
* warning is emitted with {@see _doing_it_wrong()}. The handle is then added to this list, so that duplicate
* warnings don't occur.
*
- * @since 7.0.0
+ * @since 6.9.1
* @var string[]
*/
private $dependencies_with_missing_dependencies = array();
@@ -223,7 +223,7 @@ class WP_Dependencies {
_doing_it_wrong(
get_class( $this ) . '::add',
$this->get_dependency_warning_message( $handle, $missing_dependencies ),
- '7.0.0'
+ '6.9.1'
);
$this->dependencies_with_missing_dependencies[] = $handle;
}
@@ -563,7 +563,7 @@ class WP_Dependencies {
/**
* Gets a dependency warning message for a handle.
*
- * @since 7.0.0
+ * @since 6.9.1
*
* @param string $handle Handle with missing dependencies.
* @param string[] $missing_dependency_handles Missing dependency handles.
diff --git a/wp-includes/class-wp-script-modules.php b/wp-includes/class-wp-script-modules.php
index e05e1900a2..d576967515 100644
--- a/wp-includes/class-wp-script-modules.php
+++ b/wp-includes/class-wp-script-modules.php
@@ -76,7 +76,7 @@ class WP_Script_Modules {
* An ID is added to this list when it is discovered to have missing dependencies. At this time, a warning is
* emitted with {@see _doing_it_wrong()}. The ID is then added to this list, so that duplicate warnings don't occur.
*
- * @since 7.0.0
+ * @since 6.9.1
* @var string[]
*/
private $modules_with_missing_dependencies = array();
@@ -744,7 +744,7 @@ class WP_Script_Modules {
$id,
implode( ', ', $missing_dependencies )
),
- '7.0.0'
+ '6.9.1'
);
$this->modules_with_missing_dependencies[] = $id;
}
diff --git a/wp-includes/class-wp-scripts.php b/wp-includes/class-wp-scripts.php
index a30b09249f..3e7908095e 100644
--- a/wp-includes/class-wp-scripts.php
+++ b/wp-includes/class-wp-scripts.php
@@ -1168,7 +1168,7 @@ JS;
/**
* Gets a script-specific dependency warning message.
*
- * @since 7.0.0
+ * @since 6.9.1
*
* @param string $handle Script handle with missing dependencies.
* @param string[] $missing_dependency_handles Missing dependency handles.
diff --git a/wp-includes/class-wp-styles.php b/wp-includes/class-wp-styles.php
index 67fb3a0fd4..455f1c986e 100644
--- a/wp-includes/class-wp-styles.php
+++ b/wp-includes/class-wp-styles.php
@@ -497,7 +497,7 @@ class WP_Styles extends WP_Dependencies {
/**
* Gets a style-specific dependency warning message.
*
- * @since 7.0.0
+ * @since 6.9.1
*
* @param string $handle Style handle with missing dependencies.
* @param string[] $missing_dependency_handles Missing dependency handles.
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 75c05fe261..238bc553af 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61356';
+$wp_version = '7.0-alpha-61357';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.