Skip to content

Commit 4a84dfe

Browse files
committed
Update WP Crontrol plugin from 1.19.2 to 1.19.3
1 parent c10b089 commit 4a84dfe

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

wp-content/plugins/wp-crontrol/readme.txt

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Contributors: johnbillion, scompt
44
Tags: cron, wp-cron, crontrol, debug, woocommerce
55
Tested up to: 6.8
6-
Stable tag: 1.19.2
6+
Stable tag: 1.19.3
77
License: GPL v2 or later
88
Donate link: https://github.com/sponsors/johnbillion
99

@@ -212,6 +212,11 @@ The photo was taken by <a href="https://www.flickr.com/photos/michaelpardo/21453
212212
3. New cron schedules can be added, giving plugin developers more options when scheduling events
213213
## Changelog ##
214214

215+
### 1.19.3 (23 October 2025) ###
216+
217+
* Corrects the handling of closures as cron event actions.
218+
219+
215220
### 1.19.2 (19 August 2025) ###
216221

217222
* Security: Hardens the "URL cron event" functionality by rejecting disallowed URLs. [More information see the security advisory](https://github.com/johnbillion/wp-crontrol/security/advisories/GHSA-35c5-67fm-cpcp).
@@ -261,15 +266,6 @@ The photo was taken by <a href="https://www.flickr.com/photos/michaelpardo/21453
261266

262267
* Confirms support for WordPress 6.4
263268

264-
### 1.16.0 (17 October 2023) ###
265-
266-
* Allow persistent WordPress core hooks to be cleared if there's more than one event with that hook
267-
* Add the number of matching events to the hook deletion link text
268-
* Scrap the Ajax request that checks if the current page of cron events has changed since loading
269-
* Make some improvements to sorting the cron event list table columns
270-
* Increase the minimum supported PHP version to 7.4
271-
272-
273269
### Earlier versions ###
274270

275271
For the changelog of earlier versions, <a href="https://github.com/johnbillion/wp-crontrol/releases">refer to the releases page on GitHub</a>.

wp-content/plugins/wp-crontrol/src/bootstrap.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,13 @@ function get_hook_callbacks( $name ) {
22912291
function populate_callback( array $callback ) {
22922292
// If Query Monitor is installed, use its rich callback analysis.
22932293
if ( method_exists( '\QM_Util', 'populate_callback' ) ) {
2294-
return \QM_Util::populate_callback( $callback );
2294+
$qm_callback = \QM_Util::populate_callback( $callback );
2295+
2296+
if ( ( ! isset( $qm_callback['name'] ) ) && is_object( $callback['function'] ) && is_a( $callback['function'], 'Closure' ) ) {
2297+
$qm_callback['name'] = '{closure:/}';
2298+
}
2299+
2300+
return $qm_callback;
22952301
}
22962302

22972303
if ( is_string( $callback['function'] ) && ( false !== strpos( $callback['function'], '::' ) ) ) {

wp-content/plugins/wp-crontrol/vendor/composer/installed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => 'johnbillion/wp-crontrol',
44
'pretty_version' => 'dev-release',
55
'version' => 'dev-release',
6-
'reference' => '67b3dbd28dc430e8cb548e8c9b95f7b684d20c6c',
6+
'reference' => '4edb22f2205bb4bfec1184d2bc22c856dfe212e9',
77
'type' => 'wordpress-plugin',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,7 +13,7 @@
1313
'johnbillion/wp-crontrol' => array(
1414
'pretty_version' => 'dev-release',
1515
'version' => 'dev-release',
16-
'reference' => '67b3dbd28dc430e8cb548e8c9b95f7b684d20c6c',
16+
'reference' => '4edb22f2205bb4bfec1184d2bc22c856dfe212e9',
1717
'type' => 'wordpress-plugin',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),

wp-content/plugins/wp-crontrol/wp-crontrol.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Take control of the cron events on your WordPress website.
66
* Author: John Blackbourn
77
* Author URI: https://wp-crontrol.com
8-
* Version: 1.19.2
8+
* Version: 1.19.3
99
* Text Domain: wp-crontrol
1010
* Domain Path: /languages/
1111
* Requires at least: 6.3
@@ -36,7 +36,7 @@
3636
namespace Crontrol;
3737

3838
const PLUGIN_FILE = __FILE__;
39-
const WP_CRONTROL_VERSION = '1.19.2';
39+
const WP_CRONTROL_VERSION = '1.19.3';
4040

4141
if ( ! defined( 'ABSPATH' ) ) {
4242
header( 'HTTP/1.1 403 Forbidden' );

0 commit comments

Comments
 (0)