Skip to content
Snippets Groups Projects
Commit 13c1f0e7 authored by lucha's avatar lucha Committed by lechuck
Browse files

Plugin: disable-wordpress-core-update 1.5

parent 79265d5d
No related branches found
No related tags found
No related merge requests found
<?php
/*
Plugin Name: Disable WordPress Core Update
Description: Disables the WordPress core update checking and notification system.
Plugin URI: http://lud.icro.us/disable-wordpress-core-update/
Version: 1.4
Plugin Name: Disable WordPress Core Updates
Description: Disables WordPress core update checks and notifications.
Plugin URI: https://lud.icro.us/disable-wordpress-core-update/
Version: 1.5
Author: John Blackbourn
Author URI: http://johnblackbourn.com/
Props: Matt Mullenweg and _ck_
Author URI: https://johnblackbourn.com/
License: GPL v2 or later
Network: true
Props: Matt Mullenweg, _ck_, miqrogroove
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -24,12 +27,10 @@ Props: Matt Mullenweg and _ck_
add_action( 'init', create_function( '$a', "remove_action( 'init', 'wp_version_check' );" ), 2 );
add_filter( 'pre_option_update_core', create_function( '$a', "return null;" ) );
# 2.8 to 3.0:
# 2.8+:
remove_action( 'wp_version_check', 'wp_version_check' );
remove_action( 'admin_init', '_maybe_update_core' );
add_filter( 'pre_transient_update_core', create_function( '$a', "return null;" ) );
# 3.0:
# 3.0+:
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
?>
\ No newline at end of file
=== Disable WordPress Core Update ===
=== Disable WordPress Core Updates ===
Contributors: johnbillion
Donate link: http://lud.icro.us/donations/
Tags: disable, core update
Requires at least: 2.3
Tested up to: 3.0
Tested up to: 3.7
Stable tag: trunk
Disables the WordPress core update checking and notification system.
Disables WordPress core update checks and notifications.
== Description ==
Completely disables the core update checking system in WordPress. The plugin prevents WordPress from checking for updates, and prevents any notifications from being displayed in the admin area. Ideal for administrators of multiple WordPress installations.
Completely disables the core update checking system in WordPress. This prevents WordPress from checking for core updates, and prevents any notifications from being displayed in the admin area. Ideal for administrators of multiple WordPress installations.
= Please note! =
It's *very* important that you keep your WordPress installation(s) up to date. If you don't, your blog or website could be susceptible to security vulnerabilities or performance issues. If you use this plugin, you must make sure you keep yourself informed of new WordPress releases and update your WordPress installation(s) as new versions are released.
See also: [Disable WordPress plugin updates](http://wordpress.org/plugins/disable-wordpress-plugin-updates/) and [Disable WordPress theme updates](http://wordpress.org/plugins/disable-wordpress-theme-updates/).
== Installation ==
1. Unzip the ZIP file and drop the folder straight into your `wp-content/plugins/` directory.
......@@ -27,18 +28,25 @@ It's *very* important that you keep your WordPress installation(s) up to date. I
Most people will not want to (and should not) disable this feature. It's a fantastic feature of WordPress and I'm fully in support of it. However, administrators who maintain multiple installations of WordPress on behalf of other people (eg. clients) may not want update notifications to be shown to the users of these installations. This plugin is for them.
= Does this plugin disable the automatic updates in WordPress 3.7 and higher? =
Yes, this plugin completely disables all core update checks, so the automatic update system will be disabled too.
= Can I disable the plugin update notifications too? =
Yes. Please see the [Disable WordPress Plugin Updates](http://wordpress.org/extend/plugins/disable-wordpress-plugin-updates/) plugin.
Yes. See the [Disable WordPress Plugin Updates](http://wordpress.org/extend/plugins/disable-wordpress-plugin-updates/) plugin.
= Can I disable the theme update notifications too? =
Yes. Please see the [Disable WordPress Theme Updates](http://wordpress.org/extend/plugins/disable-wordpress-theme-updates/) plugin.
Yes. See the [Disable WordPress Theme Updates](http://wordpress.org/extend/plugins/disable-wordpress-theme-updates/) plugin.
== Changelog ==
= 1.5 =
* Force the plugin to be network enabled.
= 1.4 =
* Preemptive support for WordPress 3.0.
* Support for WordPress 3.0.
= 1.3 =
* Support for WordPress 2.8.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment