rebase on oct-10-2023
This commit is contained in:
@@ -22,6 +22,14 @@ class WCAdminAssets {
|
||||
*/
|
||||
protected static $instance = null;
|
||||
|
||||
/**
|
||||
* An array of dependencies that have been preloaded (to avoid duplicates).
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $preloaded_dependencies;
|
||||
|
||||
|
||||
/**
|
||||
* Get class instance.
|
||||
*/
|
||||
@@ -238,7 +246,7 @@ class WCAdminAssets {
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers all the neccessary scripts and styles to show the admin experience.
|
||||
* Registers all the necessary scripts and styles to show the admin experience.
|
||||
*/
|
||||
public function register_scripts() {
|
||||
if ( ! function_exists( 'wp_set_script_translations' ) ) {
|
||||
@@ -278,6 +286,7 @@ class WCAdminAssets {
|
||||
'wc-date',
|
||||
'wc-components',
|
||||
'wc-customer-effort-score',
|
||||
'wc-experimental',
|
||||
WC_ADMIN_APP,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user