Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/popup-ma.../classes/Interfac.../Batch
File: Process.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Interface for Batch Process
[2] Fix | Delete
*
[3] Fix | Delete
* @package PUM
[4] Fix | Delete
* @copyright Copyright (c) 2023, Code Atlantic LLC
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[8] Fix | Delete
exit;
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Base interface for registering a batch process.
[13] Fix | Delete
*
[14] Fix | Delete
* @since 1.7.0
[15] Fix | Delete
*/
[16] Fix | Delete
interface PUM_Interface_Batch_Process {
[17] Fix | Delete
[18] Fix | Delete
/**
[19] Fix | Delete
* Determines if the current user can perform the current batch process.
[20] Fix | Delete
*
[21] Fix | Delete
* @return bool True if the current user has the needed capability, otherwise false.
[22] Fix | Delete
*/
[23] Fix | Delete
public function can_process();
[24] Fix | Delete
[25] Fix | Delete
/**
[26] Fix | Delete
* Processes a single step (batch).
[27] Fix | Delete
*
[28] Fix | Delete
* @return int|string|WP_Error Next step number, 'done', or a WP_Error object.
[29] Fix | Delete
*/
[30] Fix | Delete
public function process_step();
[31] Fix | Delete
[32] Fix | Delete
/**
[33] Fix | Delete
* Retrieves the calculated completion percentage.
[34] Fix | Delete
*
[35] Fix | Delete
* @return int Percentage completed.
[36] Fix | Delete
*/
[37] Fix | Delete
public function get_percentage_complete();
[38] Fix | Delete
[39] Fix | Delete
/**
[40] Fix | Delete
* Retrieves a message based on the given message code.
[41] Fix | Delete
*
[42] Fix | Delete
* @param string $code Message code.
[43] Fix | Delete
*
[44] Fix | Delete
* @return string Message.
[45] Fix | Delete
*/
[46] Fix | Delete
public function get_message( $code );
[47] Fix | Delete
[48] Fix | Delete
/**
[49] Fix | Delete
* Defines logic to execute once batch processing is complete.
[50] Fix | Delete
*/
[51] Fix | Delete
public function finish();
[52] Fix | Delete
[53] Fix | Delete
}
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function