Skip to content

Commit 0848e8e

Browse files
committed
Merge branch 'trunk' into fix-forum-17945942
2 parents 157bb5d + 06fd6f7 commit 0848e8e

File tree

5 files changed

+28
-12
lines changed

5 files changed

+28
-12
lines changed

action-scheduler.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* Description: A robust scheduling library for use in WordPress plugins.
66
* Author: Automattic
77
* Author URI: https://automattic.com/
8-
* Version: 3.8.2
8+
* Version: 3.9.0
99
* License: GPLv3
10-
* Requires at least: 6.4
10+
* Requires at least: 6.5
1111
* Tested up to: 6.7
1212
* Requires PHP: 7.1
1313
*
@@ -29,29 +29,29 @@
2929
* @package ActionScheduler
3030
*/
3131

32-
if ( ! function_exists( 'action_scheduler_register_3_dot_8_dot_2' ) && function_exists( 'add_action' ) ) { // WRCS: DEFINED_VERSION.
32+
if ( ! function_exists( 'action_scheduler_register_3_dot_9_dot_0' ) && function_exists( 'add_action' ) ) { // WRCS: DEFINED_VERSION.
3333

3434
if ( ! class_exists( 'ActionScheduler_Versions', false ) ) {
3535
require_once __DIR__ . '/classes/ActionScheduler_Versions.php';
3636
add_action( 'plugins_loaded', array( 'ActionScheduler_Versions', 'initialize_latest_version' ), 1, 0 );
3737
}
3838

39-
add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_8_dot_2', 0, 0 ); // WRCS: DEFINED_VERSION.
39+
add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_9_dot_0', 0, 0 ); // WRCS: DEFINED_VERSION.
4040

4141
// phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
4242
/**
4343
* Registers this version of Action Scheduler.
4444
*/
45-
function action_scheduler_register_3_dot_8_dot_2() { // WRCS: DEFINED_VERSION.
45+
function action_scheduler_register_3_dot_9_dot_0() { // WRCS: DEFINED_VERSION.
4646
$versions = ActionScheduler_Versions::instance();
47-
$versions->register( '3.8.2', 'action_scheduler_initialize_3_dot_8_dot_2' ); // WRCS: DEFINED_VERSION.
47+
$versions->register( '3.9.0', 'action_scheduler_initialize_3_dot_9_dot_0' ); // WRCS: DEFINED_VERSION.
4848
}
4949

5050
// phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
5151
/**
5252
* Initializes this version of Action Scheduler.
5353
*/
54-
function action_scheduler_initialize_3_dot_8_dot_2() { // WRCS: DEFINED_VERSION.
54+
function action_scheduler_initialize_3_dot_9_dot_0() { // WRCS: DEFINED_VERSION.
5555
// A final safety check is required even here, because historic versions of Action Scheduler
5656
// followed a different pattern (in some unusual cases, we could reach this point and the
5757
// ActionScheduler class is already defined—so we need to guard against that).
@@ -63,7 +63,7 @@ function action_scheduler_initialize_3_dot_8_dot_2() { // WRCS: DEFINED_VERSION.
6363

6464
// Support usage in themes - load this version if no plugin has loaded a version yet.
6565
if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'ActionScheduler', false ) ) {
66-
action_scheduler_initialize_3_dot_8_dot_2(); // WRCS: DEFINED_VERSION.
66+
action_scheduler_initialize_3_dot_9_dot_0(); // WRCS: DEFINED_VERSION.
6767
do_action( 'action_scheduler_pre_theme_init' );
6868
ActionScheduler_Versions::initialize_latest_version();
6969
}

changelog.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
*** Changelog ***
22

3+
= 3.9.0 - 2024-11-14 =
4+
* Minimum required version of PHP is now 7.1.
5+
* Performance improvements for the `as_pending_actions_due()` function.
6+
* Existing filter hook `action_scheduler_claim_actions_order_by` enhanced to provide callbacks with additional information.
7+
* Improved compatibility with PHP 8.4, specifically by making implicitly nullable parameters explicitly nullable.
8+
* A large number of coding standards-enhancements, to help reduce friction when submitting plugins to marketplaces and plugin directories. Special props @crstauf for this effort.
9+
* Minor documentation tweaks and improvements.
10+
311
= 3.8.2 - 2024-09-12 =
412
* Add missing parameter to the `pre_as_enqueue_async_action` hook.
513
* Bump minimum PHP version to 7.0.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "action-scheduler",
33
"title": "Action Scheduler",
4-
"version": "3.8.2",
4+
"version": "3.9.0",
55
"homepage": "https://actionscheduler.org/",
66
"repository": {
77
"type": "git",

readme.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
=== Action Scheduler ===
22
Contributors: Automattic, wpmuguru, claudiosanches, peterfabian1000, vedjain, jamosova, obliviousharmony, konamiman, sadowski, royho, barryhughes-1
33
Tags: scheduler, cron
4-
Stable tag: 3.8.2
4+
Stable tag: 3.9.0
55
License: GPLv3
6-
Requires at least: 6.4
6+
Requires at least: 6.5
77
Tested up to: 6.7
88
Requires PHP: 7.1
99

@@ -47,6 +47,14 @@ Collaboration is cool. We'd love to work with you to improve Action Scheduler. [
4747

4848
== Changelog ==
4949

50+
= 3.9.0 - 2024-11-14 =
51+
* Minimum required version of PHP is now 7.1.
52+
* Performance improvements for the `as_pending_actions_due()` function.
53+
* Existing filter hook `action_scheduler_claim_actions_order_by` enhanced to provide callbacks with additional information.
54+
* Improved compatibility with PHP 8.4, specifically by making implicitly nullable parameters explicitly nullable.
55+
* A large number of coding standards-enhancements, to help reduce friction when submitting plugins to marketplaces and plugin directories. Special props @crstauf for this effort.
56+
* Minor documentation tweaks and improvements.
57+
5058
= 3.8.2 - 2024-09-12 =
5159
* Add missing parameter to the `pre_as_enqueue_async_action` hook.
5260
* Bump minimum PHP version to 7.0.

0 commit comments

Comments
 (0)