deleted plugin readme.txt
This commit is contained in:
parent
0bf59ae0ba
commit
c8c48cf7f9
@ -1,36 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
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: 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
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
# 2.3 to 2.7:
|
|
||||||
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+:
|
|
||||||
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+:
|
|
||||||
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
|
|
@ -1,58 +0,0 @@
|
|||||||
=== Disable WordPress Core Updates ===
|
|
||||||
Contributors: johnbillion
|
|
||||||
Tags: disable, core update
|
|
||||||
Requires at least: 2.3
|
|
||||||
Tested up to: 3.7
|
|
||||||
Stable tag: trunk
|
|
||||||
|
|
||||||
Disables WordPress core update checks and notifications.
|
|
||||||
|
|
||||||
== Description ==
|
|
||||||
|
|
||||||
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.
|
|
||||||
2. Activate the plugin through the 'Plugins' menu in WordPress.
|
|
||||||
|
|
||||||
== Frequently Asked Questions ==
|
|
||||||
|
|
||||||
= Why would I want to disable the core update system? =
|
|
||||||
|
|
||||||
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. 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. 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 =
|
|
||||||
* Support for WordPress 3.0.
|
|
||||||
|
|
||||||
= 1.3 =
|
|
||||||
* Support for WordPress 2.8.
|
|
||||||
|
|
||||||
= 1.2 =
|
|
||||||
* Bugfix to completely prevent any communication with api.wordpress.org.
|
|
||||||
|
|
||||||
= 1.1 =
|
|
||||||
* Initial release.
|
|
Loading…
Reference in New Issue
Block a user