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/settings
File: wpml-domain-validation.js
/**
[0] Fix | Delete
* Used on the language settings page, validates the text content of one row
[1] Fix | Delete
* of the language domains settings form and potentially sanitizes the contents
[2] Fix | Delete
* of the row's text field.
[3] Fix | Delete
* Un-checks the text fields validation checkbox in case the field contains an
[4] Fix | Delete
* empty string after sanitization.
[5] Fix | Delete
*
[6] Fix | Delete
* @param domainInput Object
[7] Fix | Delete
* @param domainCheckBox Object
[8] Fix | Delete
* @returns {{run: run}}
[9] Fix | Delete
* @constructor
[10] Fix | Delete
*/
[11] Fix | Delete
var WpmlDomainValidation = function (domainInput, domainCheckBox) {
[12] Fix | Delete
[13] Fix | Delete
return {
[14] Fix | Delete
run: function () {
[15] Fix | Delete
var textInput = domainInput.val().match(/^(?:.+\/\/)?([\w\.\-\:]*)/)[1];
[16] Fix | Delete
if (!textInput) {
[17] Fix | Delete
domainCheckBox.prop('checked', false)
[18] Fix | Delete
}
[19] Fix | Delete
domainInput.val(textInput ? textInput : '');
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
};
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function