You notice how this plug-in reacts to not filling in all the required fields in a comment form? Seems to inject a little to much back on the page, right? On this site, it even changed the layout from fluid to fixed width because it loaded install.css as well.
Here’s the fix for that:
Open /ajax-comments-wpmuified/ajax-comments/ajax-comments.js
change:
msg = r.substring(r.indexOf('</h1>') + 5, r.indexOf('</body>'));
to
msg = r.substring(r.indexOf('<p>') + 3, r.indexOf('</p>'));
The end.














