2014
11.22

If you have a WordPress blog and basic PHP gongfu, very likely you’ll tinker with your plugins. Since you don’t want your changes to be flushed away, you will not update the plugins unless it’s really major. Usually we do this by first select all plugins to update, then manually exclude the plugins which we want to skip update.

wordpress-plugin-update

Manually excluding the plugins is a relatively simple effort. But WordPress plugins have very frequent updates. I personally feel that this exclusion process is mentally excruciating after few rounds of plugins update. Especially when you have modified a number of plugins to suit your needs. Remembering which plugins you should exclude is a burden. For instance, I’ve modified some of the active plugins here:

  1. Calendar Archive. When I installed this plugin, it was version 2.1. I like the idea but I found that I need to improve the output layout. So I modified it to my liking. See it in action: Post By Month. Once I successfully modified this plugin, modified it further resulting Post By Category page.
  2. Multipage Plugin. I’m using this plugin to split a very long post into multiple sub-pages each has its own title. Since I want to have the sub-pages index at the bottom of each sub-page, I then modified the plugin to perform as such. You can see this plugin working in action HERE.

  3. Shortcoder. I am using this plugin to inject Google Adsense code in every post. This way the ads location in each individual post will be vary. Unfortunately, Shortcoder (version 3.2) still inject the ads when the post on the front-page/archive index. Since too many ads might result in Adsense account suspension, I modified Shortcoder to do nothing when the post is on the front-page/archive index.
  4. Spam Free WordPress (this plugin is discontinued, I guess). I modified this plugin to beautify the comment section as well making it difficult for spammer.

Apparently we can permanently exclude any plugin from update. We achieve it by changing the plugin’s version number into something really big. Here’s what I done to Spam Free WordPress, I changed the version from 1.9.1 to 111.0:

/*
Plugin Name: Spam Free WordPress
Plugin URI: http://www.toddlahman.com/spam-free-wordpress/
Description: Comment spam blocking plugin that uses anonymous password authentication to achieve 100% automated spam blocking with zero false positives, plus a few more features.
Version: 111.0
Author: Todd Lahman, LLC
Author URI: http://www.toddlahman.com/
License: GPLv3

	Intellectual Property rights reserved byTodd Lahman, LLC as allowed by law incude,
	but are not limited to, the working concept, function, and behavior of this plugin,
	the logical code structure and expression as written. All WordPress functions, objects, and
	related items, remain the property of WordPress under GPLv3 license, and any WordPress core
	functions and objects in this plugin operate under the GPLv3 license.
*/

I hope it helps, cheers!

GD Star Rating
loading...
How To Permanently Prevent WordPress Plugins From Updating, 3.0 out of 5 based on 1 rating

Incoming Search Term

Advertise Here

No Comment

Add Your Comment