Create Background Processing Infrastructure: Create perflab_background_process_next_batch function #490
Labels
[Module] Regenerate Existing Images
Issues for the Regenerate Existing Images module
[Plugin] Performance Lab
Issue relates to work in the Performance Lab Plugin only
Projects
Create a new
perflab_background_process_next_batch
function to handle subsequent requests to process additional job batches.This function is created in the module file called
modules/images/regenerate-existing-images/background-process.php
Acceptance Criteria
$job_id
- A integer that is the ID for a job to run the next batch for.wp_generate_password
functionbackground_process_key_{$job_id}
admin-ajax.php
endpoint with thewp_remote_post
along with the following parameterswp_ajax_background_process_next_batch
0.1
array( 'job_id' => $job_id, 'key' => $key )
false
apply_filters( 'https_local_ssl_verify', false )
WP_Error
fromwp_remote_post
true
The text was updated successfully, but these errors were encountered: