Restrict wp-login to specific query string

You can’t throw a stick into the WordPress community without finding a lot of information about security. Hack this, exploit that, the list goes on.

Norcross Dec 19th, 2012 4 Commentsfunctions filesecurity


Remove post revisions weekly via WP-Cron

Post revisions are something that, while I’m sure are useful for others, I’ve never found much use for them. They can add unnecessary bloat to the database, and confuse users who aren’t sure what to do with them. I cringe when I start cleaning up an existing site and I find thousands of post revisions [...]

Norcross Dec 18th, 2012 Leave a Commentfunctions file


Checking WordPress versions for plugin settings

With every major release of WordPress, there are bound to be elements that theme and plugin authors have to account for. A version check can allow you to offer new features while still keeping others in the loop.

Norcross Dec 7th, 2012 7 CommentsWordPress Core


Stop hyperlinking images!

While I’m sure there is a reason for it, I’ve never needed it. WordPress will automatically link your images to themselves on upload by default. Here’s a quick way to change that.

Norcross Dec 19th, 2011 26 Commentsfunctions file