Skip to content

Commit

Permalink
Use common slug for w.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnmoon committed Oct 14, 2019
1 parent 37535e3 commit 558ca43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/search/class.jetpack-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function load_assets() {

public function load_and_initialize_tracks() {
define( 'W_JS_VER', 60 ); // W_JS_VER
wp_enqueue_script( 'jetpack-instant-search-tracks', '//stats.wp.com/w.js', array(), W_JS_VER, true );
wp_enqueue_script( 'jp-tracks', '//stats.wp.com/w.js', array(), W_JS_VER, true );
}

/**
Expand Down

0 comments on commit 558ca43

Please sign in to comment.