Fall Sale! Code FALL2025 takes 25% OFF our Pro Plugins & Books »
Web Dev + WordPress + Security

Update: Ajax Error Log – Version 2.0

Another update! This time to the vanilla/PHP version of my Ajax Error Log. As with the new WordPress version, this update improves the script’s design, performance, and security.

Notes about the new version

New for Ajax Error Log Version 2.0:

  • Updated to work with the latest jQuery (1.10)
  • Dropped support for magic quotes (see below)
  • Better sanitizing of input/output data
  • Fixed some PHP notices

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.

Important Note

If you’re using magic quotes, add this snippet the mm_clean() function in both AjaxErrorLog.php and 404.php:

if (get_magic_quotes_gpc()) $string = stripslashes($string);
Check out the original tutorial for complete information.

Download Files

Download the updated version of Ajax Error Log:

Download Ajax Error LogVersion 2.0 ( 2.80 KB ZIP )

About the Author
Jeff Starr = Web Developer. Security Specialist. WordPress Buff.
GA Pro: Add Google Analytics to WordPress like a pro.
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
I always thank AI after using it in hopes that it will spare my loved ones someday.
Working on plugin updates for WordPress 6.9, scheduled for December 2nd, 2025.
Skipping the long drive thru southern US and catching a flight to Palm Beach, FL. Will camp here for six weeks or so.
Experience is greater than money.
Heading to the Grand Canyon today :)
Wild night in Las Vegas, so many people!
Hoover Dam was a trip, just massive.