[wp-hackers] Disabling the core update system
Matt Mullenweg
m at mullenweg.com
Mon Sep 17 08:24:39 GMT 2007
John Blackbourn wrote:
> I maintain a multitude of WP installations for clients and friends and
> I'm planning on upgrading all these installations to 2.3 when it's
> released.
>
> As I keep these installations up to date, and update them as soon as
> possible after new releases are made, there's no need for the core
> update system to check for updates, so I wrote a simple plugin which
> disables the core update checking, and therefore disables any
> notifications which might be displayed to users.
>
> I thought it might be handy for other admins of multiple
> installations, so you can get the plugin here:
> http://lud.icro.us/disable-wordpress-core-update/
>
> It's pretty freaking simple, but any feedback is welcome.
Try this out:
add_filter( 'pre_option_update_core', create_function( '$a', "return
false;" ) );
And don't forget to submit it to the plugin directory:
http://wordpress.org/extend/plugins/add/
--
Matt Mullenweg
http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com
More information about the wp-hackers
mailing list