Use WC_VERSION for js version on enqueue

This commit is contained in:
Chris Marslender 2017-11-06 10:04:43 -07:00
parent a7f1894847
commit 68f309203d
No known key found for this signature in database
GPG Key ID: 5A3FF8E135EABA2C
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class WC_Admin_Dashboard {
* Network orders widget
*/
public function network_orders() {
wp_enqueue_script( 'network-orders', '/wp-content/plugins/woocommerce/assets/js/admin/network-orders.js', array( 'jquery', 'underscore' ), time(), true );
wp_enqueue_script( 'network-orders', '/wp-content/plugins/woocommerce/assets/js/admin/network-orders.js', array( 'jquery', 'underscore' ), WC_VERSION, true );
$user = wp_get_current_user();
$blogs = get_blogs_of_user( $user->ID );