add dependencies in loader (https://github.com/woocommerce/woocommerce-admin/pull/5169)
This commit is contained in:
parent
fdd2c73122
commit
4b8a03d83b
|
@ -323,7 +323,7 @@ class Loader {
|
|||
wp_register_script(
|
||||
'wc-navigation',
|
||||
self::get_url( 'navigation/index', 'js' ),
|
||||
array(),
|
||||
array( 'wp-url', 'wp-hooks' ),
|
||||
$js_file_version,
|
||||
true
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue