From b0f6e6cbb28e436f31a4a315f613cd087e48bb8d Mon Sep 17 00:00:00 2001 From: Kuba Mikita Date: Thu, 30 Aug 2018 14:31:42 +0200 Subject: [PATCH 1/2] fixed wp-hooks handle --- inc/Assets.php | 2 +- readme.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/Assets.php b/inc/Assets.php index bd71d7d..d28c2a6 100644 --- a/inc/Assets.php +++ b/inc/Assets.php @@ -48,7 +48,7 @@ public function enqueue_admin( $current_page_hook ) { wp_register_script( 'sprintf', $this->files->vendor_asset_url( 'sprintf', 'sprintf.min.js' ), array(), '1.1.1', true ); if ( ! wp_script_is( 'wp-hooks', 'registered' ) ) { - wp_register_script( 'event-manager', $this->files->vendor_asset_url( 'wp', 'hooks.js' ), array( 'jquery' ), $this->plugin_version, true ); + wp_register_script( 'wp-hooks', $this->files->vendor_asset_url( 'wp', 'hooks.js' ), array( 'jquery' ), $this->plugin_version, true ); } wp_register_script( 'materialize', $this->files->vendor_asset_url( 'materialize', 'js/materialize.min.js' ), array( 'jquery' ), '0.98.2', true ); diff --git a/readme.txt b/readme.txt index 7399e33..9827e1d 100644 --- a/readme.txt +++ b/readme.txt @@ -90,6 +90,9 @@ Yes, but WP-Cron Control is quite old and it's tactics is not needed anymore. Ad == Changelog == += [Next] +* [Fixed] wp-hooks script handle, causing the page to not load plugin's JavaScript + = 2.3.3 * [Changed] JavaScript hooks library which was conflicting with Gutenberg From fd48e5e7508d90c984a5320107f74b73a012349e Mon Sep 17 00:00:00 2001 From: Kuba Mikita Date: Thu, 30 Aug 2018 14:32:48 +0200 Subject: [PATCH 2/2] version bump --- advanced-cron-manager.php | 4 ++-- readme.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/advanced-cron-manager.php b/advanced-cron-manager.php index 4531cc5..fc67b60 100644 --- a/advanced-cron-manager.php +++ b/advanced-cron-manager.php @@ -2,14 +2,14 @@ /** * Plugin Name: Advanced Cron Manager * Description: View, pause, remove, edit and add WP Cron events. - * Version: 2.3.3 + * Version: 2.3.4 * Author: BracketSpace * Author URI: https://bracketspace.com * License: GPL3 * Text Domain: advanced-cron-manager */ -$plugin_version = '2.3.3'; +$plugin_version = '2.3.4'; $plugin_file = __FILE__; /** diff --git a/readme.txt b/readme.txt index 9827e1d..879397b 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/underDEV/ Tags: cron, wp cron, cron jobs, manager, cron manager, crontrol Requires at least: 3.6 Tested up to: 4.9.6 -Stable tag: 2.3.3 +Stable tag: 2.3.4 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -90,7 +90,7 @@ Yes, but WP-Cron Control is quite old and it's tactics is not needed anymore. Ad == Changelog == -= [Next] += 2.3.4 * [Fixed] wp-hooks script handle, causing the page to not load plugin's JavaScript = 2.3.3