Skip to content

Commit

Permalink
Fix: remove and replace deprecated WP_Background_Process & WP_Async_R…
Browse files Browse the repository at this point in the history
…equest (#7099)
  • Loading branch information
JoshuaHungDinh authored Nov 20, 2023
1 parent 1f3fd2c commit 6bb1971
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 687 deletions.
5 changes: 4 additions & 1 deletion includes/class-give-async-process.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php
use Give\Framework\WordPressLibraries\WPAsyncRequest;

/**
* Background Process
*
* Uses https://github.com/A5hleyRich/wp-background-processing to handle DB
* updates in the background.
*
* @class Give_Async_Request
* @unrleased replace WP_Async_Request with namespaced version WPAsyncRequest.
* @version 2.0.0
* @package Give/Classes
* @category Class
Expand All @@ -20,7 +23,7 @@
/**
* Give_Background_Updater Class.
*/
class Give_Async_Process extends WP_Async_Request {
class Give_Async_Process extends WPAsyncRequest {
/**
* Prefix
*
Expand Down
164 changes: 0 additions & 164 deletions includes/libraries/wp-async-request.php

This file was deleted.

Loading

0 comments on commit 6bb1971

Please sign in to comment.