PluginProbe
Patchstack – WordPress & Plugins Security / 2.1.13
Patchstack – WordPress & Plugins Security v2.1.13
2.3.7 trunk 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.2 2.1.20 2.1.21 2.1.22 2.1.23 2.1.24 2.1.25 2.1.3 2.1.4 2.1.5 2.1.6 All 49 releases
← All changes | includes/admin/menu.php +2 -2 2.1.32.1.13 View file →
@@ -78,9 +78,9 @@
78 78 $screen = get_current_screen();
79 79
80 80 // Load the Patchstack style on all Patchstack pages except site overview.
81 81 if ( isset( $screen->base, $_GET['page'] ) && stripos( $screen->base, 'patchstack' ) !== false && $_GET['page'] != 'patchstack-multisite' ) {
82 - wp_enqueue_style( 'patchstack', $this->plugin->url . 'assets/css/patchstack.css', array(), $this->plugin->version );
82 + wp_enqueue_style( 'patchstack', $this->plugin->url . 'assets/css/patchstack.min.css', array(), $this->plugin->version );
83 83 }
84 84
85 85 // Only load the selectize CSS file on the firewall settings page.
86 86 if ( isset( $screen->base ) && stripos( $screen->base, 'patchstack' ) !== false && isset( $_GET['tab'] ) && $_GET['tab'] == 'firewall' ) {
@@ -100,9 +100,9 @@
100 100 */
101 101 public function enqueue_scripts() {
102 102 $screen = get_current_screen();
103 103 if ( isset( $screen->base ) && ( stripos( $screen->base, 'patchstack' ) !== false ) && current_user_can( 'manage_options' ) ) {
104 - wp_enqueue_script( 'patchstack', $this->plugin->url . 'assets/js/patchstack.js', array( 'jquery' ), $this->plugin->version );
104 + wp_enqueue_script( 'patchstack', $this->plugin->url . 'assets/js/patchstack.min.js', array( 'jquery' ), $this->plugin->version );
105 105 wp_enqueue_script( 'google-jsapi', 'https://www.google.com/jsapi' );
106 106 wp_localize_script(
107 107 'patchstack',
108 108 'PatchstackVars',