Super Plugin Sale! Your Choice: BOGO or 30% Off »
Web Dev + WordPress + Security

Update: Ajax Error Log for WordPress – v2.0

New version of Ajax-Powered Error Logs for WordPress now available for download. The functionality is the same, but the script is rewritten for better design, performance, and security.

Notes about the new version

New for Ajax Error Logs for WordPress Version 2.0:

  1. New sanitizing filters for input/output data
  2. New email notifications (enabled by default)
  3. Dropped support for magic quotes (see below)
  4. Updated to work with the latest jQuery (1.10)

Here is a list of changes and important notes:

/404.php

  • Some of the default markup has changed in the 404.php file.
  • In 404.php edit the $name and $email variables with your infos.
  • To disable the automatic email notifications, comment out (or remove) line #49 (i.e., the mail() function).
  • If you’re using magic quotes, add this snippet the mm_clean() function:
    if (get_magic_quotes_gpc()) $string = stripslashes($string);

/page-ajax-display.php

In the page-ajax-display.php file, the default path has been changed from /wordpress/ajax-error-log-process/ to /ajax-error-log-process/ (two instances).

/page-ajax-process.php

If you’re using magic quotes, add this snippet the mm_clean() function:

if (get_magic_quotes_gpc()) $string = stripslashes($string);

Everything else is essentially the same, but you’ll want to backup your original files and then check to make sure that everything is copascetic. Then test well and you should be good to go.

Check out the original tutorial for complete information.

Download the files

Download the updated version of Ajax Error Log for WordPress.

About the Author
Jeff Starr = Creative thinker. Passionate about free and open Web.
Blackhole Pro: Trap bad bots in a virtual black hole.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
Wizard’s SQL for WordPress: Over 300+ recipes! Check the Demo »
Thoughts
All free plugins updated and ready for WP 6.6 dropping next week. Pro plugin updates in the works also complete :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
RIP ICQ
Crazy that we’re almost halfway thru 2024.
I live right next door to the absolute loudest car in town. And the owner loves to drive it.
8G Firewall now out of beta testing, ready for use on production sites.
It's all about that ad revenue baby.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.