Save 25% on our pro plugins with coupon code: SPRING2023
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.

Jeff Starr
About the Author
Jeff Starr = Fullstack Developer. Book Author. Teacher. Human Being.
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 »
Blackhole Pro: Trap bad bots in a virtual black hole.
Thoughts
Excellent (and free) tool to test your site's SSL configuration.
Plugin updates! All of our free and pro plugins ready for WordPress 6.2.
Daylight savings is a complete waste of time and needs to be eliminated.
Got a couple of snow days here in mid-March. Fortunately it's not sticking.
I handle all email in real time as it comes in, perpetually clear inbox for years now.
Added some nice features to Wutsearch search engine launchpad. Now 21 engines!
.wp TLD plz :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.