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
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user