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/sitepres.../inc
File: js-scripts.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* Registers scripts so that they can be reused throughout WPML plugins
[3] Fix | Delete
* Hooked to `admin_enqueue_scripts`
[4] Fix | Delete
*/
[5] Fix | Delete
function wpml_register_js_scripts() {
[6] Fix | Delete
wp_register_script( 'wpml-underscore-template-compiler',
[7] Fix | Delete
ICL_PLUGIN_URL . '/res/js/shared/wpml-template-compiler.js',
[8] Fix | Delete
array( "underscore" ) );
[9] Fix | Delete
wp_register_script( 'wpml-domain-validation',
[10] Fix | Delete
ICL_PLUGIN_URL . '/res/js/settings/wpml-domain-validation.js',
[11] Fix | Delete
array( "jquery" ) );
[12] Fix | Delete
[13] Fix | Delete
}
[14] Fix | Delete
[15] Fix | Delete
if ( is_admin() ) {
[16] Fix | Delete
add_action( 'admin_enqueue_scripts', 'wpml_register_js_scripts', -PHP_INT_MAX );
[17] Fix | Delete
} else {
[18] Fix | Delete
add_action( 'wp_enqueue_scripts', 'wpml_register_js_scripts', -PHP_INT_MAX );
[19] Fix | Delete
}
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function