From 1183ea05da75f7edb5002dbe0188eb7a70f0dc59 Mon Sep 17 00:00:00 2001 From: Remzi Cavdar Date: Sat, 14 Sep 2019 21:42:38 +0200 Subject: [PATCH] Bump version and an optimization --- jquery-manager.php | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/jquery-manager.php b/jquery-manager.php index bd92485..3638699 100644 --- a/jquery-manager.php +++ b/jquery-manager.php @@ -12,7 +12,7 @@ * Plugin Name: jQuery Manager for WordPress * Plugin URI: https://github.com/Remzi1993/jquery-manager * Description: Manage jQuery and jQuery Migrate, activate a specific jQuery and/or jQuery Migrate version. The ultimate jQuery debugging tool for WordPress. This plugin is an open source project, made possible by your contribution (code). Development is done on GitHub. - * Version: 1.10.3 + * Version: 1.10.4 * Author: Remzi Cavdar * Author URI: https://twitter.com/remzicavdar * License: GPLv3 @@ -634,7 +634,8 @@ function wp_jquery_manager_plugin_admin_scripts($hook) { } // Register styles and scripts -add_action( 'wp_enqueue_scripts', 'wp_jquery_manager_plugin_front_end_scripts' ); +add_action( 'wp_enqueue_scripts', 'wp_jquery_manager_plugin_front_end_scripts', 1 ); +add_action( 'login_enqueue_scripts', 'wp_jquery_manager_plugin_front_end_scripts', 1 ); add_action( 'admin_enqueue_scripts', 'wp_jquery_manager_plugin_admin_scripts' ); diff --git a/package.json b/package.json index 938c983..657aace 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery-manager", - "version": "1.10.3", + "version": "1.10.4", "description": "Manage jQuery and jQuery Migrate on a WordPress website, select a specific jQuery and/or jQuery Migrate version. The ultimate jQuery debugging tool for WordPress. This plugin is a open source project, made possible by your contribution (code). Development is done on GitHub.", "main": "jquery-manager.php", "directories": {