Skip to content

Commit ea164a5

Browse files
Merge branch 'release/2.5.10'
2 parents 8a7db87 + 30c7165 commit ea164a5

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

advanced-cron-manager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Advanced Cron Manager
44
* Description: View, pause, remove, edit and add WP Cron events.
5-
* Version: 2.5.9
5+
* Version: 2.5.10
66
* Author: BracketSpace
77
* Author URI: https://bracketspace.com
88
* License: GPL3
@@ -11,7 +11,7 @@
1111
* @package advanced-cron-manager
1212
*/
1313

14-
$plugin_version = '2.5.9';
14+
$plugin_version = '2.5.10';
1515
$plugin_file = __FILE__;
1616

1717
/**

inc/AdminScreen.php

+6
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ public function __call( $method, $args ) {
8888

8989
if ( strpos( $method, 'ajax_rerender_' ) !== false ) {
9090

91+
if ( ! current_user_can( 'manage_options' ) ) {
92+
$this->ajax->error( array(
93+
__( "You're not allowed to do that.", 'advanced-cron-manager' ),
94+
) );
95+
}
96+
9197
/**
9298
* From: ajax_rerender_schedules_table
9399
* To: load_schedules_table_part

readme.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: cron, wpcron, tool, manager, crontrol
44
Requires at least: 3.6
55
Requires PHP: 5.3
66
Tested up to: 6.5
7-
Stable tag: 2.5.9
7+
Stable tag: 2.5.10
88
License: GPLv2
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -101,6 +101,9 @@ Yes! We're offering a [custom plugin development](https://bracketspace.com/custo
101101

102102
== Changelog ==
103103

104+
= 2.5.10 =
105+
* [Fixed] Fixed security issue causing subscribers could see the schedules or events.
106+
104107
= 2.5.9 =
105108
* [Fixed] Missing plugin assets in package.
106109

0 commit comments

Comments
 (0)