Beware : Your Site Is Part of a WordPress Pingback DDoS Botnet

WordPress Pinback DDoS Prevention Plugin

18 Mar 2014 Update : the plugin has been accepted and is now available on the WordPress.org plugin repo! Recently, Sucuri posted about 160,000 WordPress sites being used in a DDoS attack. This got me worried about my personal blog, as someone had emailed me last year, claiming that my blog was being used in a DDoS attack. I immediately figured the email was spam and thought “There is no way my site can be so badly compromised!” and I deleted the mail. The truth was, my personal blog was used in a WordPress Pingback DDoS attack against some poor … Read more…

Make A WordPress Plugin – Translations

FooCamp - How to Make a WordPress Plugin

Make Your Plugin Translation Ready WordPress provides us with all the tools (and functions) we need to make our plugins translatable or localizable. Why make your plugin translatable, you might ask? Well, to increase your plugin’s target audience by allowing any person, who speaks any language, the ability to understand and use it. But making your plugin ready for translation doesn’t mean you need to do the translations yourself. But it does provide a really easy way for your plugin users to provide their own translation files. This is what you need to do in order to make your plugin translation … Read more…

Make A WordPress Plugin – Readme.txt and Refactoring

FooCamp - How to Make a WordPress Plugin

In the previous post, we created our first plugin and also create a GitHub repo for it. So far so good, but now we need to take it a step further. In this lesson we will cover the following topics: Create a readme.txt file. Create a readme.md for GitHub. Refactor code into different files. Readme.txt Why even bother creating this file? Very simply : the WordPress.org plugin repository uses it to generate your plugin’s landing page. And this page can make all the difference when people are deciding if they want to download your plugin or not. I seldom download … Read more…

Make A WordPress Plugin – Your First Plugin

Now that you have your environment setup correctly, let’s start coding and make a WordPress plugin, your first! I think it will be easier to follow by example, so we will be creating the first version of our FooDocs documentation plugin in this post. These are the steps we will follow: Create a new git repository. Clone the repository to our local WordPress’ plugin folder. Create a plugin file. Define our plugin class. Hook up some actions. Register a custom post type. Active and test the plugin. Commit our changes. Create Git Repository I am going to be using GitHub … Read more…

Make A WordPress Plugin – Your Environment

As mentioned in the introduction post, before you write a single line of code to make a WordPress plugin, you need to prepare both your environment and yourself, to start writing code. A lot of tutorials just jump in and miss the fundamentals. I believe that without the fundamentals, you might as well not even start. Think of this post as an upfront investment – a down payment if you will. Getting my development environment setup correctly from the start has literally saved me weeks worth of time over the last couple of years. Here is the list of what we will be … Read more…

FooCamp – How to Make a WordPress Plugin Series

FooCamp - How to Make a WordPress Plugin

FooCamp – An Introduction Is this just another WordPress plugin tutorial? No way. There are plenty tutorials and blog series out there, but this will be different. A few days ago, I was wanting to teach our support guru Matt Cromwell how to write his own WordPress plugin. So instead of just sending him a list of things to do and read, I thought it would be a really cool idea to blog about it. In that way, everyone can learn along the way (including me). And so FooCamp Plugin School was born! Who knows, maybe when we are done, … Read more…