Spring Sale! Save 30% on all books w/ code: PLANET24
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 = 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 »
USP Pro: Unlimited front-end forms for user-submitted posts and more.
Thoughts
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.
Note to self: encrypting 500 GB of data on my iMac takes around 8 hours.
Getting back into things after a bit of a break. Currently 7° F outside. Chillz.
2024 is going to make 2020 look like a vacation. Prepare accordingly.
First snow of the year :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.