Version Description
- Uploaded version 4.1.10 on GitHub.
- Fixed error code "Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Disable_Updates' does not have a method 'plugin_unblock_link' in D:\wamp\www\myWpSite\wp-includes\plugin.php on line 470".
- Updated website address to devwpp.wordpress.com
- Changed official name to devWPP in all files.
- Changed some notes in the code.
Download this release
Release Info
Developer | kidsguide |
Plugin | Easy Updates Manager |
Version | 4.1.10 |
Comparing to | |
See all releases |
Code changes from version 4.1.0 to 4.1.10
- Function.php +6 -37
- License.txt +4 -1
- readme.txt +16 -7
- style.css +1 -4
- uninstall.php +1 -1
Function.php
CHANGED
@@ -1,24 +1,24 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Disable Updates Manager
|
4 |
-
* @author
|
5 |
* @email webguywp@gmail.com
|
6 |
-
* @version 4.1.
|
7 |
*/
|
8 |
/*
|
9 |
Plugin Name: Disable Updates Manager
|
10 |
Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
|
11 |
-
Version: 4.1.
|
12 |
Description: A configurable plugin that disables updates for you. Easy, clean and helpful.
|
13 |
Author: Websiteguy
|
14 |
-
Author URI: http://www.
|
15 |
Author Email: webguywp@gmail.com
|
16 |
License: GPL2
|
17 |
Text Domain: disable-updates-manager
|
18 |
Domain Path: lang
|
19 |
Tested up to WordPress: 3.9.1
|
20 |
|
21 |
-
@Copyright 2013 - 2014
|
22 |
|
23 |
This program is free software; you can redistribute it and/or modify
|
24 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -39,7 +39,7 @@ Go to the license.txt in the trunk for more information.
|
|
39 |
class Disable_Updates {
|
40 |
|
41 |
// Define version.
|
42 |
-
const VERSION = '4.1.
|
43 |
|
44 |
function __construct() {
|
45 |
|
@@ -110,7 +110,6 @@ class Disable_Updates {
|
|
110 |
|
111 |
return array_merge(
|
112 |
$links,
|
113 |
-
array( '<a target="_BLANK" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LC5UR6667DLXU">Donate</a>' ),
|
114 |
array( '<a href="http://www.wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a>' ),
|
115 |
array( '<a href="http://www.wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a>' ),
|
116 |
array( '<a href="https://www.youtube.com/watch?v=ppCxjREhF9g">Tutorial</a>' ),
|
@@ -199,7 +198,6 @@ class Disable_Updates {
|
|
199 |
define( 'disable_updates_loaded', 1 );
|
200 |
|
201 |
add_action( 'init', array( __CLASS__, 'update_plugin_block_status' ) );
|
202 |
-
add_action( 'init', array( __CLASS__, 'plugin_action_links' ) );
|
203 |
add_filter( 'site_transient_update_plugins', array( __CLASS__, 'remove_plugin_update_notification' ) );
|
204 |
add_filter( 'plugin_action_links', array( __CLASS__, 'plugin_block_action_link' ), 10, 4 );
|
205 |
|
@@ -426,35 +424,6 @@ class Disable_Updates {
|
|
426 |
// apply_filters( 'automatic_theme_updates_send_debug_email', TRUE, $type, $theme_update, $result );
|
427 |
}
|
428 |
|
429 |
-
static function plugin_action_links() {
|
430 |
-
|
431 |
-
if ( ! current_user_can( 'update_plugins' ) ) {
|
432 |
-
return;
|
433 |
-
}
|
434 |
-
|
435 |
-
$plugins = get_site_transient( 'update_plugins' );
|
436 |
-
// $to_block = get_option( 'disable_updates_blocked' );
|
437 |
-
|
438 |
-
if ( isset( $plugins->response ) ) {
|
439 |
-
|
440 |
-
// loop through all of the plugins with updates available and attach the appropriate filter
|
441 |
-
foreach ( $plugins->response as $filename => $plugin ) {
|
442 |
-
|
443 |
-
// check that the version is the version we want to block updates to
|
444 |
-
add_action( "in_plugin_update_message-$filename", array( __CLASS__, 'plugin_block_link' ), 99, 2 );
|
445 |
-
}
|
446 |
-
}
|
447 |
-
|
448 |
-
if ( isset( $plugins->disable_updates ) ) {
|
449 |
-
|
450 |
-
foreach ( $plugins->disable_updates as $filename => $plugin ) {
|
451 |
-
|
452 |
-
// check that the version is the version we want to block updates to
|
453 |
-
add_action( "after_plugin_row_$filename", array( __CLASS__, 'plugin_unblock_link'), -1, 1 );
|
454 |
-
}
|
455 |
-
}
|
456 |
-
}
|
457 |
-
|
458 |
static function plugin_block_action_link( $actions, $plugin_file, $plugin_data, $context ) {
|
459 |
|
460 |
$blocked = get_option( 'disable_updates_blocked' );
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Disable Updates Manager
|
4 |
+
* @author devWPP
|
5 |
* @email webguywp@gmail.com
|
6 |
+
* @version 4.1.10
|
7 |
*/
|
8 |
/*
|
9 |
Plugin Name: Disable Updates Manager
|
10 |
Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
|
11 |
+
Version: 4.1.10
|
12 |
Description: A configurable plugin that disables updates for you. Easy, clean and helpful.
|
13 |
Author: Websiteguy
|
14 |
+
Author URI: http://www.devWPP.wordpress.com
|
15 |
Author Email: webguywp@gmail.com
|
16 |
License: GPL2
|
17 |
Text Domain: disable-updates-manager
|
18 |
Domain Path: lang
|
19 |
Tested up to WordPress: 3.9.1
|
20 |
|
21 |
+
@Copyright 2013 - 2014 devWPP (email: webguywp@gmail.com)
|
22 |
|
23 |
This program is free software; you can redistribute it and/or modify
|
24 |
it under the terms of the GNU General Public License, version 2, as
|
39 |
class Disable_Updates {
|
40 |
|
41 |
// Define version.
|
42 |
+
const VERSION = '4.1.10';
|
43 |
|
44 |
function __construct() {
|
45 |
|
110 |
|
111 |
return array_merge(
|
112 |
$links,
|
|
|
113 |
array( '<a href="http://www.wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a>' ),
|
114 |
array( '<a href="http://www.wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a>' ),
|
115 |
array( '<a href="https://www.youtube.com/watch?v=ppCxjREhF9g">Tutorial</a>' ),
|
198 |
define( 'disable_updates_loaded', 1 );
|
199 |
|
200 |
add_action( 'init', array( __CLASS__, 'update_plugin_block_status' ) );
|
|
|
201 |
add_filter( 'site_transient_update_plugins', array( __CLASS__, 'remove_plugin_update_notification' ) );
|
202 |
add_filter( 'plugin_action_links', array( __CLASS__, 'plugin_block_action_link' ), 10, 4 );
|
203 |
|
424 |
// apply_filters( 'automatic_theme_updates_send_debug_email', TRUE, $type, $theme_update, $result );
|
425 |
}
|
426 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
427 |
static function plugin_block_action_link( $actions, $plugin_file, $plugin_data, $context ) {
|
428 |
|
429 |
$blocked = get_option( 'disable_updates_blocked' );
|
License.txt
CHANGED
@@ -204,4 +204,7 @@
|
|
204 |
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
205 |
SUCH DAMAGES.
|
206 |
|
207 |
-
|
|
|
|
|
|
204 |
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
205 |
SUCH DAMAGES.
|
206 |
|
207 |
+
Name: Matthew
|
208 |
+
Company: devWPP
|
209 |
+
E-mail: webguywp@gmail.com
|
210 |
+
@Copyright 2013 - 2014
|
readme.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
=== Disable Updates Manager ===
|
2 |
-
Contributors: kidsguide
|
3 |
Tags: Disable All Updates, Disable Plugin Updates, Disable Theme Updates, Disable WordPress Core Updates, Disable Core Updates, Disable Updates Settings, Disable Updates, Disable All WordPress Updates, Disable All WordPress Updates Settings, Disable Updates Manager, Disable All Updates Manager, Disable Updates Manager Settings, Update Check
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.9.1
|
@@ -12,6 +12,8 @@ The best plugin to disable updates is here!
|
|
12 |
|
13 |
This plugin is configurable! Check the updates you would like to disable in the settings page along with other helpful settings. The settings page is located under the settings section in your dashboard (changed in version 4.0). Check the features below or the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a> for more information.
|
14 |
|
|
|
|
|
15 |
= Features =
|
16 |
<ol>
|
17 |
<li>Disables plugins and themes individually.</li>
|
@@ -66,6 +68,13 @@ Installing Disable Updates Manager.
|
|
66 |
3.That's it. You're ready to go!
|
67 |
|
68 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= 4.1.0 =
|
70 |
* <strong>BIG:</strong> code clean-up (moved code, fixed code, etc.). - Thanks <a href="https://github.com/Websiteguy/disable-updates-manager/pull/4">GitHub Pull Request</a> and other help!!!
|
71 |
* Added: version 4.1.0 on GitHub (including the lang file).
|
@@ -222,10 +231,10 @@ Installing Disable Updates Manager.
|
|
222 |
|
223 |
= 2.5.1 =
|
224 |
* Changed Save Button Text
|
225 |
-
* HTML Notes Updated
|
226 |
-
* Fixed Changelog Errors
|
227 |
* Updated Description
|
228 |
-
|
229 |
= 2.5.0 =
|
230 |
* Added Postboxes
|
231 |
* Remove Delete Files Setting
|
@@ -238,7 +247,7 @@ Installing Disable Updates Manager.
|
|
238 |
= 2.4.0 =
|
239 |
* Plugin Name Changed (Disable Updates Manager)
|
240 |
* Tags Updated (Make it easier to find this plugin)
|
241 |
-
* Fixed Some HTML
|
242 |
* Added Translation (Test)
|
243 |
|
244 |
= 2.3.0 =
|
@@ -321,9 +330,9 @@ Installing Disable Updates Manager.
|
|
321 |
* Updated Readme.txt
|
322 |
* Works with WordPress 3.8
|
323 |
|
324 |
-
= 0.1* =
|
325 |
|
326 |
-
* Published on Wordpress.org
|
327 |
(September 1, 2013)
|
328 |
|
329 |
= Note =
|
1 |
=== Disable Updates Manager ===
|
2 |
+
Contributors: kidsguide, shazahm1@hotmail.com
|
3 |
Tags: Disable All Updates, Disable Plugin Updates, Disable Theme Updates, Disable WordPress Core Updates, Disable Core Updates, Disable Updates Settings, Disable Updates, Disable All WordPress Updates, Disable All WordPress Updates Settings, Disable Updates Manager, Disable All Updates Manager, Disable Updates Manager Settings, Update Check
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.9.1
|
12 |
|
13 |
This plugin is configurable! Check the updates you would like to disable in the settings page along with other helpful settings. The settings page is located under the settings section in your dashboard (changed in version 4.0). Check the features below or the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a> for more information.
|
14 |
|
15 |
+
<a href="http://www.devwpp.wordpress.com">Check our blog for beta releases.</a>
|
16 |
+
|
17 |
= Features =
|
18 |
<ol>
|
19 |
<li>Disables plugins and themes individually.</li>
|
68 |
3.That's it. You're ready to go!
|
69 |
|
70 |
== Changelog ==
|
71 |
+
= 4.1.10 =
|
72 |
+
* Uploaded version 4.1.10 on GitHub.
|
73 |
+
* Fixed error code "Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Disable_Updates' does not have a method 'plugin_unblock_link' in D:\wamp\www\myWpSite\wp-includes\plugin.php on line 470".
|
74 |
+
* Updated website address to <a href="www.devwpp.wordpress.com">devwpp.wordpress.com</a>
|
75 |
+
* Changed official name to devWPP in all files.
|
76 |
+
* Changed some notes in the code.
|
77 |
+
|
78 |
= 4.1.0 =
|
79 |
* <strong>BIG:</strong> code clean-up (moved code, fixed code, etc.). - Thanks <a href="https://github.com/Websiteguy/disable-updates-manager/pull/4">GitHub Pull Request</a> and other help!!!
|
80 |
* Added: version 4.1.0 on GitHub (including the lang file).
|
231 |
|
232 |
= 2.5.1 =
|
233 |
* Changed Save Button Text
|
234 |
+
* HTML Notes Updated
|
235 |
+
* Fixed Changelog Errors
|
236 |
* Updated Description
|
237 |
+
|
238 |
= 2.5.0 =
|
239 |
* Added Postboxes
|
240 |
* Remove Delete Files Setting
|
247 |
= 2.4.0 =
|
248 |
* Plugin Name Changed (Disable Updates Manager)
|
249 |
* Tags Updated (Make it easier to find this plugin)
|
250 |
+
* Fixed Some HTML
|
251 |
* Added Translation (Test)
|
252 |
|
253 |
= 2.3.0 =
|
330 |
* Updated Readme.txt
|
331 |
* Works with WordPress 3.8
|
332 |
|
333 |
+
= 0.1* =
|
334 |
|
335 |
+
* Published on Wordpress.org
|
336 |
(September 1, 2013)
|
337 |
|
338 |
= Note =
|
style.css
CHANGED
@@ -10,10 +10,7 @@
|
|
10 |
z-index: 1000;
|
11 |
border: 1px solid #ffd971;
|
12 |
background-color: #fffdce;
|
13 |
-
padding
|
14 |
-
padding-bottom: 1.5px;
|
15 |
-
padding-right: 7.5px;
|
16 |
-
padding-left: 7.5px;
|
17 |
width: auto;
|
18 |
height: auto;
|
19 |
font-size: .85em;
|
10 |
z-index: 1000;
|
11 |
border: 1px solid #ffd971;
|
12 |
background-color: #fffdce;
|
13 |
+
padding: 2px 8px 2px 8px;
|
|
|
|
|
|
|
14 |
width: auto;
|
15 |
height: auto;
|
16 |
font-size: .85em;
|
uninstall.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
//
|
4 |
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
5 |
exit ();
|
6 |
}
|
1 |
<?php
|
2 |
|
3 |
+
// code to remove files. no data will be left behind!
|
4 |
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
5 |
exit ();
|
6 |
}
|