Easy Updates Manager - Version 2.6.0

Version Description

  • Added Better Settings Description
  • Fixed Disable All Updates Setting Error (Thanks conservativeread!)
  • Remove the Updates Page Setting from Disable All Updates Setting (Thanks again conservativeread!)
Download this release

Release Info

Developer kidsguide
Plugin Icon 128x128 Easy Updates Manager
Version 2.6.0
Comparing to
See all releases

Code changes from version 2.5.1 to 2.6.0

Files changed (2) hide show
  1. Function.php +8 -18
  2. readme.txt +9 -27
Function.php CHANGED
@@ -2,12 +2,12 @@
2
  /**
3
  * @package Disable Updates Manager
4
  * @author Websiteguy
5
- * @version 2.5.1
6
  */
7
  /*
8
  Plugin Name: Disable Updates Manager
9
  Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
10
- Version: 2.5.1
11
  Description: Pick which type of updates you would like to disable. Just use are new settings forum.
12
  Author: Websiteguy
13
  Author URI: http://profiles.wordpress.org/kidsguide/
@@ -126,11 +126,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
126
  case 'page' :
127
 
128
  // Remove the Dashboard Updates Menu Code
129
- add_action('admin_menu', 'remove_menus', 102);
130
-
131
- function remove_menus() {
132
- global $submenu;
133
- remove_submenu_page ( 'index.php', 'update-core.php' );
134
  }
135
 
136
  break;
@@ -155,14 +153,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
155
  remove_action( 'load-update-core.php', 'wp_update_core' );
156
  add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
157
 
158
- // Remove Update Submenu Under Dashboard. The same code in our new plugin "Remove the Updates Submenu".
159
-
160
- add_action('admin_menu', 'remove_menus', 102);
161
- function remove_menus() {
162
- global $submenu;
163
- remove_submenu_page ( 'index.php', 'update-core.php' );
164
- }
165
-
166
  // Hide Update Notices in Admin Dashboard
167
 
168
  add_action('admin_menu','hide_admin_notices');
@@ -291,10 +281,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
291
  <td>
292
  <fieldset>
293
  <div class="postbox">
294
- <h3>&nbsp;Disable All Updates <small>(Same function as versions less than 1.9.0)</small></h3>
295
  <div class="inside">
296
  <label for="all_notify">
297
- <input type="checkbox" <?php checked(1, (int)$this->status['all'], true); ?> value="1" id="all_notify" name="_disable_updates[all]"> <?php _e('Disable All Updates', 'disable-updates-manager') ?>
298
  </label>
299
  </div>
300
  </div>
@@ -306,7 +296,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
306
  <td>
307
  <fieldset>
308
  <div class="postbox">
309
- <h3>&nbsp;Disable Updates</h3>
310
  <div class="inside">
311
  <label for="plugins_notify">
312
  <input type="checkbox" <?php checked(1, (int)$this->status['plugin'], true); ?> value="1" id="plugins_notify" name="_disable_updates[plugin]"> <?php _e('Disable Plugin Updates', 'disable-updates-manager') ?>
2
  /**
3
  * @package Disable Updates Manager
4
  * @author Websiteguy
5
+ * @version 2.6.0
6
  */
7
  /*
8
  Plugin Name: Disable Updates Manager
9
  Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
10
+ Version: 2.6.0
11
  Description: Pick which type of updates you would like to disable. Just use are new settings forum.
12
  Author: Websiteguy
13
  Author URI: http://profiles.wordpress.org/kidsguide/
126
  case 'page' :
127
 
128
  // Remove the Dashboard Updates Menu Code
129
+ add_action( 'admin_init', 'wpse_38111' );
130
+ function wpse_38111() {
131
+ remove_submenu_page( 'index.php', 'update-core.php' );
 
 
132
  }
133
 
134
  break;
153
  remove_action( 'load-update-core.php', 'wp_update_core' );
154
  add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
155
 
 
 
 
 
 
 
 
 
156
  // Hide Update Notices in Admin Dashboard
157
 
158
  add_action('admin_menu','hide_admin_notices');
281
  <td>
282
  <fieldset>
283
  <div class="postbox">
284
+ <h3>&nbsp;Disable All Updates</h3>
285
  <div class="inside">
286
  <label for="all_notify">
287
+ <input type="checkbox" <?php checked(1, (int)$this->status['all'], true); ?> value="1" id="all_notify" name="_disable_updates[all]"> <?php _e('Disable All Updates <small>(Not including the settings under "Other Settings")</small>', 'disable-updates-manager') ?>
288
  </label>
289
  </div>
290
  </div>
296
  <td>
297
  <fieldset>
298
  <div class="postbox">
299
+ <h3>&nbsp;Disable Updates <small>(All settings under here included in Disable All Updates setting above.)</small></h3>
300
  <div class="inside">
301
  <label for="plugins_notify">
302
  <input type="checkbox" <?php checked(1, (int)$this->status['plugin'], true); ?> value="1" id="plugins_notify" name="_disable_updates[plugin]"> <?php _e('Disable Plugin Updates', 'disable-updates-manager') ?>
readme.txt CHANGED
@@ -1,5 +1,4 @@
1
  === Disable Updates Manager ===
2
-
3
  Contributors: kidsguide
4
  Tags: Disable All Updates, Disable Plugin Updates, Disable Theme Updates, Disable WordPress Core Updates, Disable Updates Settings, Disable Updates, Disable All WordPress Updates, Disable All WordPress Updates Settings, Disable Updates Manager, Disable All Updates Manager
5
  Requires at least: 3.0
@@ -52,9 +51,9 @@ A: Yes, this plugin just stops (or disables) the update, it does not delete them
52
 
53
  == ==
54
 
55
- `= Please note!!! =
56
  It is very important to keep your WordPress plugins, core, and themes up to date.
57
- If you use this plugin, make sure your plugins are not harming your website.`
58
 
59
  = No Downloads For Some Versions =
60
  If you were wondering why their are no downloads available for some of our this plugins versions, its because the versions are full of bugs.
@@ -101,43 +100,26 @@ Their are three way to install Disable All Updates.
101
  </ol>
102
 
103
  == Changelog ==
104
- = Versions Available for Downloading =
105
-
 
 
 
106
 
107
  = 2.5.1 =
108
- = Settings in Dashboard =
109
-
110
  * Changed Save Button Text
111
-
112
-
113
-
114
- = HTML =
115
-
116
- * HTML Notes Updated
117
-
118
-
119
-
120
- = Readme =
121
-
122
- * Fixed Changelog Errors
123
-
124
  * Updated Description
125
 
126
 
127
-
128
-
129
  = 2.5.0 =
130
- = Settings in Dashboard =
131
  * Added Postboxes
132
  * Remove Delete Files Setting
133
  * Added Disable All Updates Setting
134
  * Renamed Name on Settings Page
135
-
136
- = HTML =
137
  * HTML Notes Updated
138
  * Delete Translation .mo File
139
-
140
- = Readme.txt =
141
  * Readme.txt Error Fixed
142
 
143
  = 2.4.0 =
1
  === Disable Updates Manager ===
 
2
  Contributors: kidsguide
3
  Tags: Disable All Updates, Disable Plugin Updates, Disable Theme Updates, Disable WordPress Core Updates, Disable Updates Settings, Disable Updates, Disable All WordPress Updates, Disable All WordPress Updates Settings, Disable Updates Manager, Disable All Updates Manager
4
  Requires at least: 3.0
51
 
52
  == ==
53
 
54
+ = Please note!!! =
55
  It is very important to keep your WordPress plugins, core, and themes up to date.
56
+ If you use this plugin, make sure your plugins are not harming your website.
57
 
58
  = No Downloads For Some Versions =
59
  If you were wondering why their are no downloads available for some of our this plugins versions, its because the versions are full of bugs.
100
  </ol>
101
 
102
  == Changelog ==
103
+ = Versions Available for Downloading =
104
+ = 2.6.0 =
105
+ * Added Better Settings Description
106
+ * Fixed Disable All Updates Setting Error <strong>(Thanks conservativeread!)</strong>
107
+ * Remove the Updates Page Setting from Disable All Updates Setting <strong>(Thanks again conservativeread!)</strong>
108
 
109
  = 2.5.1 =
 
 
110
  * Changed Save Button Text
111
+ * HTML Notes Updated
112
+ * Fixed Changelog Errors
 
 
 
 
 
 
 
 
 
 
 
113
  * Updated Description
114
 
115
 
 
 
116
  = 2.5.0 =
 
117
  * Added Postboxes
118
  * Remove Delete Files Setting
119
  * Added Disable All Updates Setting
120
  * Renamed Name on Settings Page
 
 
121
  * HTML Notes Updated
122
  * Delete Translation .mo File
 
 
123
  * Readme.txt Error Fixed
124
 
125
  = 2.4.0 =