Fall Sale! Code FALL2024 takes 25% OFF our Pro Plugins & Books »
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 = Fullstack Developer. Book Author. Teacher. Human Being.
.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 »
Blackhole Pro: Trap bad bots in a virtual black hole.
Thoughts
I disabled AI in Google search results. It was making me lazy.
Went out walking today and soaked up some sunshine. It felt good.
I have an original box/packaging for 2010 iMac if anyone wants it free let me know.
Always ask AI to cite its sources. Also: “The Web” is not a valid answer.
All free plugins updated and ready for WP 6.6 dropping next week. Pro plugin updates in the works also complete :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
RIP ICQ
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.