New Bookstore! Save 20% on books with discount code: LAUNCH
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:

Ajax Error Log Version 2.0 (3KB zip)

Jeff Starr
About the Author
Jeff Starr = Creative thinker. Passionate about free and open Web.
.htaccess made easy: Improve site performance and security.
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 »
BBQ Pro: The fastest firewall to protect your WordPress.
Thoughts
LOL @ “weekly” support: “Your request has been received and will be reviewed soon. Neil (your support guy) checks support requests weekly. Rest assured we’ll get to it!” — Gotta be kidding with this.
After several days of work, finally taking a break. If anyone needs me, I'll be in Zora’s Domain, working thru Mah Eliya shrine.
Never ever call the client a useless idiot. Even if it’s true.
Inevitable that Google shuts down Feedburner. Maybe this year? Who knows. Here is a nice summary plus alternatives.
There is no way that Marvel can serve up anything better than what they've already done with Infinity saga/Endgame. Knowhere to go but down, sadly.
I built a new search launchpad to make my life easier. So I can search multiple engines quickly and easily.
Updating all muh plugins for WP 5.5 imminent release! Wut August :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.