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/wp-conte.../plugins/wp-super.../inc
File: preload-notification.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// phpcs:disable WordPress.Security.NonceVerification.Recommended
[2] Fix | Delete
[3] Fix | Delete
function wpsc_preload_notification_scripts() {
[4] Fix | Delete
if (
[5] Fix | Delete
isset( $_GET['page'] ) && $_GET['page'] === 'wpsupercache' &&
[6] Fix | Delete
isset( $_GET['tab'] ) && $_GET['tab'] === 'preload'
[7] Fix | Delete
) {
[8] Fix | Delete
wp_enqueue_script(
[9] Fix | Delete
'preload-notification',
[10] Fix | Delete
plugins_url( '/js/preload-notification.js', __DIR__ ),
[11] Fix | Delete
array( 'jquery', 'wp-i18n' ),
[12] Fix | Delete
WPSC_VERSION_ID,
[13] Fix | Delete
true
[14] Fix | Delete
);
[15] Fix | Delete
[16] Fix | Delete
wp_localize_script(
[17] Fix | Delete
'preload-notification',
[18] Fix | Delete
'wpsc_preload_ajax',
[19] Fix | Delete
array(
[20] Fix | Delete
'ajax_url' => admin_url( 'admin-ajax.php' ),
[21] Fix | Delete
'preload_status' => wpsc_get_preload_status( true ),
[22] Fix | Delete
)
[23] Fix | Delete
);
[24] Fix | Delete
}
[25] Fix | Delete
}
[26] Fix | Delete
[27] Fix | Delete
add_action( 'admin_footer', 'wpsc_preload_notification_scripts' );
[28] Fix | Delete
[29] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function