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-inclu.../js
File: wp-list-revisions.js
/**
[0] Fix | Delete
* @output wp-includes/js/wp-list-revisions.js
[1] Fix | Delete
*/
[2] Fix | Delete
[3] Fix | Delete
(function(w) {
[4] Fix | Delete
var init = function() {
[5] Fix | Delete
var pr = document.getElementById('post-revisions'),
[6] Fix | Delete
inputs = pr ? pr.getElementsByTagName('input') : [];
[7] Fix | Delete
pr.onclick = function() {
[8] Fix | Delete
var i, checkCount = 0, side;
[9] Fix | Delete
for ( i = 0; i < inputs.length; i++ ) {
[10] Fix | Delete
checkCount += inputs[i].checked ? 1 : 0;
[11] Fix | Delete
side = inputs[i].getAttribute('name');
[12] Fix | Delete
if ( ! inputs[i].checked &&
[13] Fix | Delete
( 'left' == side && 1 > checkCount || 'right' == side && 1 < checkCount && ( ! inputs[i-1] || ! inputs[i-1].checked ) ) &&
[14] Fix | Delete
! ( inputs[i+1] && inputs[i+1].checked && 'right' == inputs[i+1].getAttribute('name') ) )
[15] Fix | Delete
inputs[i].style.visibility = 'hidden';
[16] Fix | Delete
else if ( 'left' == side || 'right' == side )
[17] Fix | Delete
inputs[i].style.visibility = 'visible';
[18] Fix | Delete
}
[19] Fix | Delete
};
[20] Fix | Delete
pr.onclick();
[21] Fix | Delete
};
[22] Fix | Delete
if ( w && w.addEventListener )
[23] Fix | Delete
w.addEventListener('load', init, false);
[24] Fix | Delete
else if ( w && w.attachEvent )
[25] Fix | Delete
w.attachEvent('onload', init);
[26] Fix | Delete
})(window);
[27] Fix | Delete
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function