WP Crontrol - Version 1.6.1

Version Description

Download this release

Release Info

Developer johnbillion
Plugin Icon 128x128 WP Crontrol
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6 to 1.6.1

Files changed (2) hide show
  1. readme.txt +1 -1
  2. wp-crontrol.php +3 -6
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: johnbillion, scompt
3
  Tags: admin, cron, plugin, control, wp-cron, crontrol
4
  Requires at least: 4.1
5
  Tested up to: 4.9
6
- Stable tag: 1.6
7
 
8
  WP Crontrol lets you view and control what's happening in the WP-Cron system.
9
 
3
  Tags: admin, cron, plugin, control, wp-cron, crontrol
4
  Requires at least: 4.1
5
  Tested up to: 4.9
6
+ Stable tag: 1.6.1
7
 
8
  WP Crontrol lets you view and control what's happening in the WP-Cron system.
9
 
wp-crontrol.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: WP Crontrol lets you view and control what's happening in the WP-Cron system.
6
  * Author: John Blackbourn & contributors
7
  * Author URI: https://github.com/johnbillion/wp-crontrol/graphs/contributors
8
- * Version: 1.6
9
  * Text Domain: wp-crontrol
10
  * Domain Path: /languages/
11
  * License: GPL v2 or later
@@ -1219,11 +1219,8 @@ class Crontrol {
1219
  }
1220
 
1221
  public static function output_callback( array $callback ) {
1222
- global $wp_filesystem;
1223
-
1224
- $plugins = $wp_filesystem->wp_plugins_dir();
1225
- $qm = $plugins . 'query-monitor/query-monitor.php';
1226
- $html = plugin_dir_path( $qm ) . 'output/Html.php';
1227
 
1228
  // If Query Monitor is installed, use its rich callback output:
1229
  if ( class_exists( 'QueryMonitor' ) && file_exists( $html ) ) {
5
  * Description: WP Crontrol lets you view and control what's happening in the WP-Cron system.
6
  * Author: John Blackbourn & contributors
7
  * Author URI: https://github.com/johnbillion/wp-crontrol/graphs/contributors
8
+ * Version: 1.6.1
9
  * Text Domain: wp-crontrol
10
  * Domain Path: /languages/
11
  * License: GPL v2 or later
1219
  }
1220
 
1221
  public static function output_callback( array $callback ) {
1222
+ $qm = WP_PLUGIN_DIR . '/query-monitor/query-monitor.php';
1223
+ $html = plugin_dir_path( $qm ) . 'output/Html.php';
 
 
 
1224
 
1225
  // If Query Monitor is installed, use its rich callback output:
1226
  if ( class_exists( 'QueryMonitor' ) && file_exists( $html ) ) {