In this article, we will intercept the generation of script tags, and alter the output in an attempt to improve web site performance. The filter code will add either a defer or async attribute to the script tag.
This article outlines how to add a Fail2Ban filter that detects Brute Force login attacks logged by Ninjafirewall and ban the attacker’s IP address. An example is also given to show how to make this work with caching and proxy services like CloudFlare.
In this article, we will print a reminder message for the user above the WordPress Editor metabox by hooking into the response generation code at the point right after the post title has been printed at the top of the WordPress editor page in the admin area.