Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: WordPress/wordpress-develop
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: trunk
Choose a base ref
...
head repository: urlund/wordpress-develop
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: trunk
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 1 file changed
  • 1 contributor

Commits on Sep 5, 2025

  1. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    37cfa33 View commit details
    Browse the repository at this point in the history
  2. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    54c2a36 View commit details
    Browse the repository at this point in the history
  3. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    e5b39da View commit details
    Browse the repository at this point in the history
  4. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    66c99a3 View commit details
    Browse the repository at this point in the history
  5. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    d7eac51 View commit details
    Browse the repository at this point in the history
  6. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    a835a76 View commit details
    Browse the repository at this point in the history
  7. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    78de8c2 View commit details
    Browse the repository at this point in the history
  8. 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.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    ca31f9b View commit details
    Browse the repository at this point in the history
  9. Fix whitespace in wp_schedule_bulk_events

    Removed unnecessary whitespace after the opening parenthesis in the array_reduce call for improved code style consistency.
    urlund committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    fccd1aa View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2025

  1. 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.
    urlund committed Sep 6, 2025
    Configuration menu
    Copy the full SHA
    d14fa8a View commit details
    Browse the repository at this point in the history
  2. Trigger CI

    urlund committed Sep 6, 2025
    Configuration menu
    Copy the full SHA
    57e7306 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2025

  1. 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.
    urlund committed Sep 15, 2025
    Configuration menu
    Copy the full SHA
    a7a6d27 View commit details
    Browse the repository at this point in the history
Loading