Archive for May, 2008

HOWTO: prevent a personal fork of a WordPress plugin from auto-updating to the non-forked version

Tuesday, May 20th, 2008

Bugged the hell out of me, this, and couldn’t find any information on it. You’ve downloaded some plugin from the official WordPress repository, customised it somehow and want to keep your copy. But in the plugin list in your admin panel, you’re continually being told that a new version of the unforked plugin is available. Even if you’ve changed the name. Even if you’ve changed the URL. Even if you’ve deleted it, scrubbed your WP tables and re-added it.

The plugin auto-update mechanism doesn’t depend on any file metadata, or on polling by the plugin, or by anything else. It depends on the name of the directory the plugin’s files are in. So just rename the directory in which the plugin’s files are stored within wp-content/plugins. Voila.