Skip to content

Commit 2d2911d

Browse files
committed
Script Loader: Re-target release for missing dependency notices from 7.0.0 to 6.9.1.
Follow-up to [61323], [60999]. See #64229. git-svn-id: https://develop.svn.wordpress.org/trunk@61357 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1bcada8 commit 2d2911d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/wp-includes/class-wp-dependencies.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class WP_Dependencies {
111111
* warning is emitted with {@see _doing_it_wrong()}. The handle is then added to this list, so that duplicate
112112
* warnings don't occur.
113113
*
114-
* @since 7.0.0
114+
* @since 6.9.1
115115
* @var string[]
116116
*/
117117
private $dependencies_with_missing_dependencies = array();
@@ -223,7 +223,7 @@ public function all_deps( $handles, $recursion = false, $group = false ) {
223223
_doing_it_wrong(
224224
get_class( $this ) . '::add',
225225
$this->get_dependency_warning_message( $handle, $missing_dependencies ),
226-
'7.0.0'
226+
'6.9.1'
227227
);
228228
$this->dependencies_with_missing_dependencies[] = $handle;
229229
}
@@ -563,7 +563,7 @@ public function get_etag( $load ) {
563563
/**
564564
* Gets a dependency warning message for a handle.
565565
*
566-
* @since 7.0.0
566+
* @since 6.9.1
567567
*
568568
* @param string $handle Handle with missing dependencies.
569569
* @param string[] $missing_dependency_handles Missing dependency handles.

src/wp-includes/class-wp-script-modules.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class WP_Script_Modules {
7676
* An ID is added to this list when it is discovered to have missing dependencies. At this time, a warning is
7777
* emitted with {@see _doing_it_wrong()}. The ID is then added to this list, so that duplicate warnings don't occur.
7878
*
79-
* @since 7.0.0
79+
* @since 6.9.1
8080
* @var string[]
8181
*/
8282
private $modules_with_missing_dependencies = array();
@@ -744,7 +744,7 @@ private function sort_item_dependencies( string $id, array $import_types, array
744744
$id,
745745
implode( ', ', $missing_dependencies )
746746
),
747-
'7.0.0'
747+
'6.9.1'
748748
);
749749
$this->modules_with_missing_dependencies[] = $id;
750750
}

src/wp-includes/class-wp-scripts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ public function reset() {
11681168
/**
11691169
* Gets a script-specific dependency warning message.
11701170
*
1171-
* @since 7.0.0
1171+
* @since 6.9.1
11721172
*
11731173
* @param string $handle Script handle with missing dependencies.
11741174
* @param string[] $missing_dependency_handles Missing dependency handles.

src/wp-includes/class-wp-styles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ public function reset() {
497497
/**
498498
* Gets a style-specific dependency warning message.
499499
*
500-
* @since 7.0.0
500+
* @since 6.9.1
501501
*
502502
* @param string $handle Style handle with missing dependencies.
503503
* @param string[] $missing_dependency_handles Missing dependency handles.

0 commit comments

Comments
 (0)