-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Comparing changes
Open a pull request
base repository: WordPress/wordpress-develop
base: trunk
head repository: urlund/wordpress-develop
compare: trunk
- 12 commits
- 1 file changed
- 1 contributor
Commits on Sep 5, 2025
-
Add wp_schedule_bulk_events function for bulk event scheduling
Introduces wp_schedule_bulk_events to allow scheduling multiple cron events at once. This function optimizes bulk scheduling by batching updates to the cron option and includes error handling for concurrent modifications.
Configuration menu - View commit details
-
Copy full SHA for 37cfa33 - Browse repository at this point
Copy the full SHA 37cfa33View commit details -
Standardize formatting in wp_schedule_bulk_events
Reformatted the wp_schedule_bulk_events function to use consistent spacing and array initialization style, improving code readability and maintaining coding standards. No functional changes were made.
Configuration menu - View commit details
-
Copy full SHA for 54c2a36 - Browse repository at this point
Copy the full SHA 54c2a36View commit details -
Refactor wp_schedule_bulk_events formatting and logic
Standardizes function and closure formatting in wp_schedule_bulk_events for consistency. Also reorders a comparison to check the current cron option value against the original, improving code clarity.
Configuration menu - View commit details
-
Copy full SHA for e5b39da - Browse repository at this point
Copy the full SHA e5b39daView commit details -
Improve code style in wp_schedule_bulk_events
Standardized spacing in anonymous function definitions and function calls within wp_schedule_bulk_events for better readability and consistency.
Configuration menu - View commit details
-
Copy full SHA for 66c99a3 - Browse repository at this point
Copy the full SHA 66c99a3View commit details -
Remove extra space in get_option default array
Cleaned up the default array parameter in get_option by removing an unnecessary space for consistency and code style.
Configuration menu - View commit details
-
Copy full SHA for d7eac51 - Browse repository at this point
Copy the full SHA d7eac51View commit details -
Refactor variable assignment in wp_schedule_bulk_events
Separated the assignment of $orig_value and $bulk_value to improve code clarity in wp_schedule_bulk_events. This change ensures $orig_value and $bulk_value are independently assigned, avoiding potential confusion.
Configuration menu - View commit details
-
Copy full SHA for a835a76 - Browse repository at this point
Copy the full SHA a835a76View commit details -
Refactor array check in wp_schedule_bulk_events
Replaces the arrow function in array_reduce with an anonymous function for compatibility and clarity when checking if all arguments are arrays.
Configuration menu - View commit details
-
Copy full SHA for 78de8c2 - Browse repository at this point
Copy the full SHA 78de8c2View commit details -
Refactor array_reduce formatting in wp_schedule_bulk_events
Improves readability by reformatting the array_reduce call in wp_schedule_bulk_events to use multi-line syntax.
Configuration menu - View commit details
-
Copy full SHA for ca31f9b - Browse repository at this point
Copy the full SHA ca31f9bView commit details -
Fix whitespace in wp_schedule_bulk_events
Removed unnecessary whitespace after the opening parenthesis in the array_reduce call for improved code style consistency.
Configuration menu - View commit details
-
Copy full SHA for fccd1aa - Browse repository at this point
Copy the full SHA fccd1aaView commit details
Commits on Sep 6, 2025
-
Refine WP_Error codes in wp_schedule_bulk_events
Updated error codes in wp_schedule_bulk_events to be more specific: 'wp_schedule_bulk_events_verify_failed' for verification failures and 'wp_schedule_bulk_events_update_failed' for update failures. This improves error clarity and debugging.
Configuration menu - View commit details
-
Copy full SHA for d14fa8a - Browse repository at this point
Copy the full SHA d14fa8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57e7306 - Browse repository at this point
Copy the full SHA 57e7306View commit details
Commits on Sep 15, 2025
-
Prevent duplicate cron events in wp_schedule_bulk_events
Added a check to ensure wp_schedule_single_event is only called if the event is not already scheduled. This prevents duplicate cron events from being created for the same hook and arguments.
Configuration menu - View commit details
-
Copy full SHA for a7a6d27 - Browse repository at this point
Copy the full SHA a7a6d27View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff trunk...trunk