[wp-hackers] Plugin update & security / privacy

Alex Günsche ag.ml2007 at zirona.com
Sun Sep 23 14:57:47 GMT 2007

On Sun, 2007-09-23 at 08:37 -0400, Jamie Holly wrote:
> We were discussing this on a political blogger mailing list I am on. There
> are about 30 WP users on that list. As of this morning, 18 of them said they
> will not be moving to WP 2.3 solely because of this.

Ok, before you guys don't upgrade at all, here's a little plugin which
will completely(!) suppress the version checker.

------- SNIP -------
Plugin Name: No Update Checker
Description: *Very* rough hack to suppress the WordPress update checker.
Version: 0.1

function noupdatechecker()
   if ( !defined('WP_INSTALLING') )
      define('WP_INSTALLING', true);
add_action('init', 'noupdatechecker', 9);
------- SNIP -------

Save the above as noupdatechecker.php (or whatever) in
wp-content/plugins/. No whitespace must be outside the PHP tags! Then
activate the plugin in the admin panel.

Note: The plugin deactivates the version checker by defining
WP_INSTALLING, a constant that is used in other parts of the core, too.
I had a quick grep, looked at the respective positions, and tested the
associated WP features -- the normal functioning of WordPress seems not
to be impacted by this hack. Anyway, if strange things happen due to its
usage, let me know. Feedback is apprechiated (e-mail me).

Kind regards,

Alex Günsche, Zirona OpenSource-Consulting
Blogs: http://www.zirona.com/ | http://www.regularimpressions.net
PubKey for this address: http://www.zirona.com/misc/ag.ml2007.asc

More information about the wp-hackers mailing list