| @@ -1,5 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | +use Give\Framework\WordPressLibraries\WPAsyncRequest; | |
| 3 | + | |
| 2 | 4 | /** |
| 3 | 5 | * Background Process |
| 4 | 6 | * |
| 5 | 7 | * Uses https://github.com/A5hleyRich/wp-background-processing to handle DB |
| @@ -5,12 +7,15 @@ | ||
| 5 | 7 | * Uses https://github.com/A5hleyRich/wp-background-processing to handle DB |
| 6 | 8 | * updates in the background. |
| 7 | 9 | * |
| 8 | 10 | * @class Give_Async_Request |
| 11 | + * @since 3.1.2 replace WP_Async_Request with namespaced version WPAsyncRequest. | |
| 9 | 12 | * @version 2.0.0 |
| 10 | 13 | * @package Give/Classes |
| 11 | 14 | * @category Class |
| 12 | 15 | * @author GiveWP |
| 16 | + * | |
| 17 | + * @since 2.32.0 updated to extend WPAsyncRequest | |
| 13 | 18 | */ |
| 14 | 19 | if ( ! defined( 'ABSPATH' ) ) { |
| 15 | 20 | exit; |
| 16 | 21 | } |
| @@ -17,12 +22,11 @@ | ||
| 17 | 22 | |
| 18 | 23 | /** |
| 19 | 24 | * Give_Background_Updater Class. |
| 20 | 25 | */ |
| 21 | -class Give_Async_Process extends WP_Async_Request { | |
| 26 | +class Give_Async_Process extends WPAsyncRequest { | |
| 22 | 27 | /** |
| 23 | 28 | * Prefix |
| 24 | - * | |
| 25 | 29 | * |
| 26 | 30 | * @var string |
| 27 | 31 | * @access protected |
| 28 | 32 | */ |