Save up to 25% on pro security plugins w/ our Security Bundle »
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 = Web Developer. Security Specialist. WordPress Buff.
Wizard’s SQL for WordPress: Over 300+ recipes! Check the Demo »
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 »
.htaccess made easy: Improve site performance and security.
Thoughts
Fall season almost here :)
My greatest skill on social media is the ability to simply ignore 98% and keep scrolling without interacting.
Enjoying this summer, getting some great positive energy. Refreshing and inspiring.
☀️ Pro plugin giveaway! Enter to win 1 of 4 lifetime licenses for our WordPress security plugins, including 10-site Security Bundle!
There is no end to what humans can achieve when they work together.
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.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.