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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wpforms-.../src/Db/Payments
File: Payment.php
* @param array $args Query arguments.
[500] Fix | Delete
*
[501] Fix | Delete
* @return array
[502] Fix | Delete
*/
[503] Fix | Delete
private function sanitize_get_payments_args( $args ) {
[504] Fix | Delete
[505] Fix | Delete
$defaults = [
[506] Fix | Delete
'number' => 20,
[507] Fix | Delete
'offset' => 0,
[508] Fix | Delete
'orderby' => 'id',
[509] Fix | Delete
'order' => 'DESC',
[510] Fix | Delete
];
[511] Fix | Delete
[512] Fix | Delete
$args = wp_parse_args( (array) $args, $defaults );
[513] Fix | Delete
[514] Fix | Delete
// Sanitize.
[515] Fix | Delete
$args['number'] = absint( $args['number'] );
[516] Fix | Delete
$args['offset'] = absint( $args['offset'] );
[517] Fix | Delete
[518] Fix | Delete
if ( $args['number'] === 0 ) {
[519] Fix | Delete
$args['number'] = $defaults['number'];
[520] Fix | Delete
}
[521] Fix | Delete
[522] Fix | Delete
return $args;
[523] Fix | Delete
}
[524] Fix | Delete
}
[525] Fix | Delete
[526] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function