Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/akismet/_inc
File: form.js
var ak_js = document.getElementById( "ak_js" );
[0] Fix | Delete
[1] Fix | Delete
if ( ! ak_js ) {
[2] Fix | Delete
ak_js = document.createElement( 'input' );
[3] Fix | Delete
ak_js.setAttribute( 'id', 'ak_js' );
[4] Fix | Delete
ak_js.setAttribute( 'name', 'ak_js' );
[5] Fix | Delete
ak_js.setAttribute( 'type', 'hidden' );
[6] Fix | Delete
}
[7] Fix | Delete
else {
[8] Fix | Delete
ak_js.parentNode.removeChild( ak_js );
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
ak_js.setAttribute( 'value', ( new Date() ).getTime() );
[12] Fix | Delete
[13] Fix | Delete
var commentForm = document.getElementById( 'commentform' );
[14] Fix | Delete
[15] Fix | Delete
if ( commentForm ) {
[16] Fix | Delete
commentForm.appendChild( ak_js );
[17] Fix | Delete
}
[18] Fix | Delete
else {
[19] Fix | Delete
var replyRowContainer = document.getElementById( 'replyrow' );
[20] Fix | Delete
[21] Fix | Delete
if ( replyRowContainer ) {
[22] Fix | Delete
var children = replyRowContainer.getElementsByTagName( 'td' );
[23] Fix | Delete
[24] Fix | Delete
if ( children.length > 0 ) {
[25] Fix | Delete
children[0].appendChild( ak_js );
[26] Fix | Delete
}
[27] Fix | Delete
}
[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