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.../res/js
File: taxonomy-hierarchy-sync-message.js
/*globals jQuery, document */
[0] Fix | Delete
[1] Fix | Delete
var WPML_Core = WPML_Core || {};
[2] Fix | Delete
WPML_Core.taxonomy_sync_complete_reload = function () {
[3] Fix | Delete
"use strict";
[4] Fix | Delete
location.reload();
[5] Fix | Delete
}
[6] Fix | Delete
[7] Fix | Delete
WPML_Core.taxonomy_sync_complete = function ( event, xhr, settings ) {
[8] Fix | Delete
"use strict";
[9] Fix | Delete
[10] Fix | Delete
if ( settings.data && typeof settings.data === 'string' ) {
[11] Fix | Delete
if ( settings.data.search( 'action=wpml_tt_sync_hierarchy_save' ) !== -1 ) {
[12] Fix | Delete
WPML_Core.taxonomy_sync_complete_reload();
[13] Fix | Delete
}
[14] Fix | Delete
}
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
jQuery( document ).ready( function () {
[18] Fix | Delete
"use strict";
[19] Fix | Delete
[20] Fix | Delete
jQuery( document ).ajaxComplete( WPML_Core.taxonomy_sync_complete );
[21] Fix | Delete
} );
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function