Skip to content

Update WP Background Processing library to the latest version #1267

Description

@alexander-sakal

The Action Scheduler library currently bundles an outdated version of the WP Background Processing library, specifically the WP_Async_Request class. This older version can cause issues if a plugin extends the WP_Async_Request class and relies on methods that exist only in newer versions (e.g., WP_Async_Request::maybe_wp_die). If the version from Action Scheduler is loaded first, it can result in a fatal error.

While this issue can technically be resolved on the vendor/plugin side, addressing it within the Action Scheduler library itself seems like the more appropriate and future-proof solution. It would be very helpful if you could update the bundled WP Background Processing library to the latest version or consider a more flexible integration strategy (e.g., namespacing) to prevent these types of conflicts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions