Easy Updates Manager - Version 3.5.0

Version Description

  • Added: "Disable Plugins Individually" postbox.
  • Removed: "Disable Updates Individually" section.
  • Updated: screenshots.
  • Updated: video tutorial.
  • Updated: readme.txt description.
  • Updated: code notes.
  • Changed: "Disable Plugin Updates Individually" format (working on better format for upcoming versions).
  • Changed: postbox format.
  • Changed: "Please Note" border box to proper notice.
  • Moved: CSS script.
Download this release

Release Info

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

Code changes from version 3.4.0 to 3.5.0

Files changed (2) hide show
  1. Function.php +159 -145
  2. readme.txt +34 -17
Function.php CHANGED
@@ -2,12 +2,12 @@
2
  /**
3
  * @package Disable Updates Manager
4
  * @author Websiteguy
5
- * @version 3.4.0
6
  */
7
  /*
8
  Plugin Name: Disable Updates Manager
9
  Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
10
- Version: 3.4.0
11
  Description: Pick which type of updates you would like to disable. Just use the settings.
12
  Author: Websiteguy
13
  Author URI: http://profiles.wordpress.org/kidsguide/
@@ -33,7 +33,9 @@ along with this program; if not, write to the Free Software
33
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34
  */
35
 
36
- define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
 
 
37
 
38
  class Disable_Updates {
39
  // Set status in array
@@ -44,18 +46,18 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
44
 
45
  function Disable_Updates() {
46
 
47
- // Add menu page
48
  add_action('admin_menu', array(&$this, 'add_submenu'));
49
 
50
- // Settings API
51
  add_action('admin_init', array(&$this, 'register_setting'));
52
 
53
 
54
- // load the values recorded
55
  $this->load_disable_updates();
56
  }
57
 
58
- // Register Settings
59
  function register_setting() {
60
  register_setting('_disable_updates', '_disable_updates', array(&$this, 'validate_settings'));
61
  }
@@ -72,12 +74,12 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
72
  }
73
 
74
  function add_submenu() {
75
- // Add submenu in menu "Dashboard"
76
  add_submenu_page( 'index.php', 'Disable Updates', __('Disable Updates','disable-updates-manager'), 'administrator', __FILE__, array(&$this, 'display_page') );
77
  }
78
 
79
 
80
- // Functions for Plugin (Change in Settings)
81
  function load_disable_updates() {
82
  $this->status = get_option('_disable_updates');
83
 
@@ -87,7 +89,7 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
87
 
88
  switch( $id ) {
89
 
90
- // Disable Plugin Updates
91
  case 'plugin' :
92
 
93
  // Disable Plugin Updates Code
@@ -99,7 +101,7 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
99
 
100
  break;
101
 
102
- // Disable Theme Updates
103
  case 'theme' :
104
 
105
  // Disable Theme Updates Code
@@ -111,7 +113,7 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
111
 
112
  break;
113
 
114
- // Disable WordPress Core Updates
115
  case 'core' :
116
 
117
  // Disable WordPress Core Updates Code
@@ -123,7 +125,7 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
123
 
124
  break;
125
 
126
- // Remove the Dashboard Updates Menu
127
  case 'page' :
128
 
129
  // Remove the Dashboard Updates Menu Code
@@ -134,7 +136,7 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
134
 
135
  break;
136
 
137
- // Disable All Updates
138
  case 'all' :
139
 
140
  // Disable All Updates
@@ -256,22 +258,17 @@ define("DISABLEUPDATESMANAGERVERSION", "3.4.0");
256
 
257
  break;
258
 
259
- // Remove WordPress Version Number
260
  case 'wpv' :
261
 
262
- function change_footer_admin () {return ' ';}
263
- add_filter('admin_footer_text', 'change_footer_admin', 9999);
264
- function change_footer_version() {return ' ';}
265
- add_filter( 'update_footer', 'change_footer_version', 9999);
266
 
267
  break;
268
-
269
- case 'abup' :
270
- wp_clear_scheduled_hook( 'wp_maybe_auto_update' );
271
- break;
272
-
273
- case 'pd' :
274
 
 
275
  if(defined('disable_updates_loaded')) {
276
  return;
277
  }
@@ -282,8 +279,6 @@ add_action('init','disable_updates_addFilters');
282
 
283
  add_filter("plugin_row_meta", 'disable_updates_pluginLinks', 10, 2);
284
  add_filter('site_transient_update_plugins', 'disable_updates_blockUpdateNotifications');
285
- //add_filter('site_transient_update_themes', 'disable_updates_blockUpdateNotifications');
286
-
287
 
288
  function disable_updates_addFilters() {
289
  if(!current_user_can('update_plugins')) {
@@ -366,7 +361,7 @@ function disable_updates_blockUpdateNotifications($plugins) {
366
 
367
  function disable_updates_unblockLink($filename) {
368
  disable_updates_linkStart();
369
- echo 'Updates for this plugin are blocked. <a href="plugins.php?_wpnonce=' . wp_create_nonce('disable_updates') . '&disable_updates&unblock=' . $filename . '">Unblock</a>.</div></td></tr>';
370
  }
371
 
372
  function disable_updates_blockLink($filename) {
@@ -396,23 +391,30 @@ if(!function_exists('printr')) {
396
  echo '<pre>'; print_r($txt); echo '</pre>';
397
  }
398
  }
399
-
400
  break;
401
- }
 
 
 
 
 
 
 
402
  }
403
- }
404
 
405
- // Settings Page (Under Dashboard)
406
  function display_page() {
407
-
408
  // Don't Allow Users to View Settings
409
  if (!current_user_can('update_core'))
410
  wp_die( __('You do not have permissions to access this page.') );
411
 
412
  ?>
413
-
414
  <div class="wrap">
 
415
  <h2><?php _e('Disable Updates Manager Settings','disable-updates-manager'); ?></h2>
 
416
 
417
  <form method="post" action="options.php">
418
 
@@ -420,150 +422,162 @@ break;
420
 
421
  <table class="form-table">
422
  <tr>
423
- <td>
424
- <fieldset>
425
- <div class="postbox" style="width: 590px; border-radius: 4px;">
426
- <H3>&nbsp;Disable Updates</H3>
427
- <div class="inside">
428
- <div class="showonhover">
 
 
 
 
 
 
429
  <label for="all_notify">
430
  <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') ?>
431
  </label>
432
- <span>
433
- <a href="#" class="viewdescription">?</a>
434
- <span class="hovertext">Only includes settings under "Disable Updates", not "Disable Updates Individually".</span>
435
- </span>
436
- </div>
437
- </span>
438
- <span style="padding-left: 20px; display:block">
439
  <label for="plugins_notify">
440
  <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') ?>
441
  </label>
442
- <br>
443
  <label for="themes_notify">
444
  <input type="checkbox" <?php checked(1, (int)$this->status['theme'], true); ?> value="1" id="themes_notify" name="_disable_updates[theme]"> <?php _e('Disable Theme Updates', 'disable-updates-manager') ?>
445
  </label>
446
- <br>
447
  <label for="core_notify">
448
  <input type="checkbox" <?php checked(1, (int)$this->status['core'], true); ?> value="1" id="core_notify" name="_disable_updates[core]"> <?php _e('Disable WordPress Core Update', 'disable-updates-manager') ?>
449
  </label>
450
- <fieldset>
451
- </span>
452
- <H4>Disable Updates Individually</H4>
453
- <div class="showonhover">
454
- <label for="pd_notify">
455
- <input type="checkbox" <?php checked(1, (int)$this->status['pd'], true); ?> value="1" id="pd_notify" name="_disable_updates[pd]"> <?php _e('Disable Plugins Individually', 'disable-updates-manager') ?>
456
- </label>
457
- <span>
458
- <a href="#" class="viewdescription">?</a>
459
- <span class="hovertext">When their is an update for a plugin, go to the plugins list (plugins.php) and look at the plugins update notice(s).
460
 
461
- </span>
462
- </span>
463
- </div>
464
- </div>
465
- </div>
466
- </fieldset>
467
- </td>
468
- </tr>
469
-
470
- <tr>
471
- <td>
472
- <fieldset>
473
- <div class="postbox" style="width: 590px; border-radius: 4px;">
474
- <H3>&nbsp;Other Settings</H3>
475
- <div class="inside">
476
- <span style="padding-left: 0px; display:block">
477
- <label for="abup_notify">
478
- <input type="checkbox" <?php checked(1, (int)$this->status['abup'], true); ?> value="1" id="abup_notify" name="_disable_updates[abup]"> <?php _e('Disable Automatic Background Updates', 'disable-updates-manager') ?>
479
  </label>
 
 
 
 
 
 
 
 
 
 
 
480
  <br>
481
- <div class="showonhover">
482
- <label for="wpv_notify">
483
- <input type="checkbox" <?php checked(1, (int)$this->status['wpv'], true); ?> value="1" id="wpv_notify" name="_disable_updates[wpv]"> <?php _e('Remove WordPress Core Version', 'disable-updates-manager') ?>
484
- </label>
485
- <span>
486
- <a href="#" class="viewdescription">?</a>
487
- <span class="hovertext">Removes it for all users.</span>
488
- </span>
489
- </div>
490
- <div class="showonhover">
491
  <label for="page_notify">
492
  <input type="checkbox" <?php checked(1, (int)$this->status['page'], true); ?> value="1" id="page_notify" name="_disable_updates[page]"> <?php _e('Remove Updates Page', 'disable-updates-manager') ?>
493
  </label>
494
- <span>
495
- <a href="#" class="viewdescription">?</a>
496
- <span class="hovertext">The one under the dashboard.</span>
497
- </span>
498
- </div>
499
-
 
 
 
 
 
 
 
 
 
500
  </span>
501
- </div>
502
- </div>
503
- <p class="submit">
 
 
 
 
 
 
504
  <input type="submit" class="button-primary" value="<?php _e('Update Settings') ?>" />
505
- </p>
506
- <div class="postbox" style="width: 160px; height: 35px; border-radius: 4px;">
507
- <div class="inside">
508
- <p align="center">
509
- <a href="http://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a> | <a href="http://www.youtube.com/watch?v=jAqd0SjLQ_M">Tutorial</a> | <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a>
510
- </p>
511
- </span>
512
- </div>
513
- </div>
514
- <style type="text/css">
515
- .showonhover {position: relative;}
516
- .showonhover .hovertext {
517
- opacity: 0;
518
- top: -99999px;
519
- position:absolute;
520
- z-index:1000;
521
- border:1px solid #ffd971;
522
- background-color:#fffdce;
523
- padding:11px;
524
- width:140px;
525
- font-size: 0.95em;
526
- -webkit-transition: opacity 0.3s ease;
527
- -moz-transition: opacity 0.3s ease;
528
- -o-transition: opacity 0.3s ease;
529
- transition: opacity 0.3s ease;
530
- }
531
- .showonhover:hover .hovertext {opacity:1;top:0;}
532
- a.viewdescription {color:#999;}
533
- a.viewdescription:hover {background-color:#999; color: White;}
534
- </style>
535
- </fieldset>
536
- </td>
537
- </tr>
538
-
539
- <tr>
540
- <span style="border-style:solid; border-width:2px; border-color:#dd0606; width: 604px; padding-left: 2px; padding-right: 2px; border-radius: 7px; display:block" >
541
  <p align="center">
542
- <strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out of date, you may run into compatibility problems.
543
  </p>
544
- </span>
545
- </tr>
546
-
547
- </table>
548
-
549
  </form>
550
-
551
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
552
 
553
- <?php
554
  }
555
  }
556
 
557
- // Start this plugin once all other plugins are fully loaded
558
  global $Disable_Updates; $Disable_Updates = new Disable_Updates();
559
 
560
- // Plugin Page Link Function
561
  add_filter( 'plugin_row_meta', 'thsp_plugin_meta_links', 10, 2 );
562
 
563
  function thsp_plugin_meta_links( $links, $file ) {
564
  $plugin = plugin_basename(__FILE__);
565
 
566
- // Create links
567
  if ( $file == $plugin ) {
568
  return array_merge(
569
  $links,
@@ -575,12 +589,12 @@ break;
575
  return $links;
576
  }
577
 
578
- // Add Settings Link
579
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'thsp_plugin_action_links' );
580
 
581
  function thsp_plugin_action_links( $links ) {
582
 
583
  return array_merge(
584
- array('settings' => '<a href="' . admin_url( 'index.php?page=stops-core-theme-and-plugin-updates/Function.php' ) . '">' . __( 'Settings', 'ts-fab' ) . '</a>'),
585
  $links);
586
  }
2
  /**
3
  * @package Disable Updates Manager
4
  * @author Websiteguy
5
+ * @version 3.5.0
6
  */
7
  /*
8
  Plugin Name: Disable Updates Manager
9
  Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
10
+ Version: 3.5.0
11
  Description: Pick which type of updates you would like to disable. Just use the settings.
12
  Author: Websiteguy
13
  Author URI: http://profiles.wordpress.org/kidsguide/
33
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34
  */
35
 
36
+ // Define version.
37
+
38
+ define("DISABLEUPDATESMANAGERVERSION", "3.5.0");
39
 
40
  class Disable_Updates {
41
  // Set status in array
46
 
47
  function Disable_Updates() {
48
 
49
+ // Add menu page.
50
  add_action('admin_menu', array(&$this, 'add_submenu'));
51
 
52
+ // Settings API.
53
  add_action('admin_init', array(&$this, 'register_setting'));
54
 
55
 
56
+ // load the values recorded.
57
  $this->load_disable_updates();
58
  }
59
 
60
+ // Register settings.
61
  function register_setting() {
62
  register_setting('_disable_updates', '_disable_updates', array(&$this, 'validate_settings'));
63
  }
74
  }
75
 
76
  function add_submenu() {
77
+ // Add submenu to "Dashboard" menu.
78
  add_submenu_page( 'index.php', 'Disable Updates', __('Disable Updates','disable-updates-manager'), 'administrator', __FILE__, array(&$this, 'display_page') );
79
  }
80
 
81
 
82
+ // Functions for plugin (Change in settings)
83
  function load_disable_updates() {
84
  $this->status = get_option('_disable_updates');
85
 
89
 
90
  switch( $id ) {
91
 
92
+ // Disable Plugin Updates
93
  case 'plugin' :
94
 
95
  // Disable Plugin Updates Code
101
 
102
  break;
103
 
104
+ // Disable Theme Updates
105
  case 'theme' :
106
 
107
  // Disable Theme Updates Code
113
 
114
  break;
115
 
116
+ // Disable WordPress Core Updates
117
  case 'core' :
118
 
119
  // Disable WordPress Core Updates Code
125
 
126
  break;
127
 
128
+ // Remove the Dashboard Updates Menu
129
  case 'page' :
130
 
131
  // Remove the Dashboard Updates Menu Code
136
 
137
  break;
138
 
139
+ // Disable All Updates
140
  case 'all' :
141
 
142
  // Disable All Updates
258
 
259
  break;
260
 
261
+ // Remove WordPress Version Number
262
  case 'wpv' :
263
 
264
+ function change_footer_admin () {return '&nbsp;';}
265
+ add_filter('admin_footer_text', 'change_footer_admin', 9999);
266
+ function change_footer_version() {return ' ';}
267
+ add_filter( 'update_footer', 'change_footer_version', 9999);
268
 
269
  break;
 
 
 
 
 
 
270
 
271
+ case 'ip' :
272
  if(defined('disable_updates_loaded')) {
273
  return;
274
  }
279
 
280
  add_filter("plugin_row_meta", 'disable_updates_pluginLinks', 10, 2);
281
  add_filter('site_transient_update_plugins', 'disable_updates_blockUpdateNotifications');
 
 
282
 
283
  function disable_updates_addFilters() {
284
  if(!current_user_can('update_plugins')) {
361
 
362
  function disable_updates_unblockLink($filename) {
363
  disable_updates_linkStart();
364
+ echo 'Updates for this plugin are blocked. <a href="plugins.php?_wpnonce=' . wp_create_nonce('disable_updates') . '&disable_updates&unblock=' . $filename . '">Unblock updates</a>.</div></td></tr>';
365
  }
366
 
367
  function disable_updates_blockLink($filename) {
391
  echo '<pre>'; print_r($txt); echo '</pre>';
392
  }
393
  }
 
394
  break;
395
+
396
+ // Disable automatic background updates.
397
+ case 'abup' :
398
+ wp_clear_scheduled_hook( 'wp_maybe_auto_update' );
399
+ break;
400
+
401
+ }
402
+ }
403
  }
 
404
 
405
+ // Settings page (under dashboard).
406
  function display_page() {
407
+
408
  // Don't Allow Users to View Settings
409
  if (!current_user_can('update_core'))
410
  wp_die( __('You do not have permissions to access this page.') );
411
 
412
  ?>
413
+
414
  <div class="wrap">
415
+ <span style="display:block; padding-left: 5px; padding-bottom: 5px">
416
  <h2><?php _e('Disable Updates Manager Settings','disable-updates-manager'); ?></h2>
417
+ </span>
418
 
419
  <form method="post" action="options.php">
420
 
422
 
423
  <table class="form-table">
424
  <tr>
425
+ <div class="error" style="width: 780px"><p><strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out of date, you may run into compatibility problems.</p></div>
426
+ </table>
427
+ <table class="wp-list-table widefat fixed bookmarks" style="width: 590px; border-radius: 4px;">
428
+ <thead>
429
+ <tr>
430
+ <th>Disable Updates</th>
431
+ </tr>
432
+ </thead>
433
+ <tbody>
434
+ <tr>
435
+ <td>
436
+ <div class="showonhover">
437
  <label for="all_notify">
438
  <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') ?>
439
  </label>
440
+ <span>
441
+ <a href="#" class="viewdescription">?</a>
442
+ <span class="hovertext">Just disables the three updates, nothing else.</span>
443
+ </span>
444
+ </div>
445
+ </span>
446
+ <span style="padding-left: 12px; display:block">
447
  <label for="plugins_notify">
448
  <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') ?>
449
  </label>
450
+ <br>
451
  <label for="themes_notify">
452
  <input type="checkbox" <?php checked(1, (int)$this->status['theme'], true); ?> value="1" id="themes_notify" name="_disable_updates[theme]"> <?php _e('Disable Theme Updates', 'disable-updates-manager') ?>
453
  </label>
454
+ <br>
455
  <label for="core_notify">
456
  <input type="checkbox" <?php checked(1, (int)$this->status['core'], true); ?> value="1" id="core_notify" name="_disable_updates[core]"> <?php _e('Disable WordPress Core Update', 'disable-updates-manager') ?>
457
  </label>
458
+ </span>
459
+ </td>
460
+ </tr>
461
+ </tbody>
462
+ </table>
463
+ <br>
 
 
 
 
464
 
465
+ <table class="wp-list-table widefat fixed bookmarks" style="width: 590px; border-radius: 4px;">
466
+ <thead>
467
+ <tr>
468
+ <th>Disable Plugins Individually</th>
469
+ </tr>
470
+ </thead>
471
+ <tbody>
472
+ <tr>
473
+ <td>
474
+ <div class="showonhover">
475
+ <label for="ip_notify">
476
+ <input type="checkbox" <?php checked(1, (int)$this->status['ip'], true); ?> value="1" id="ip_notify" name="_disable_updates[ip]"> <?php _e('Disable Plugins Individually', 'disable-updates-manager') ?>
 
 
 
 
 
 
477
  </label>
478
+ <span>
479
+ <a href="#" class="viewdescription">?</a>
480
+ <span class="hovertext">Go to the "Plugins" section in your dashboard to disable.</span>
481
+ </span>
482
+ </div>
483
+ </span>
484
+ <span style="font-size:8px">New format for this setting coming soon!</span>
485
+ </td>
486
+ </tr>
487
+ </tbody>
488
+ </table>
489
  <br>
490
+ <table class="wp-list-table widefat fixed bookmarks" style="width: 590px; border-radius: 4px;">
491
+ <thead>
492
+ <tr>
493
+ <th>Other Settings</th>
494
+ </tr>
495
+ </thead>
496
+ <tbody>
497
+ <tr>
498
+ <td>
499
+ <div class="showonhover">
500
  <label for="page_notify">
501
  <input type="checkbox" <?php checked(1, (int)$this->status['page'], true); ?> value="1" id="page_notify" name="_disable_updates[page]"> <?php _e('Remove Updates Page', 'disable-updates-manager') ?>
502
  </label>
503
+ <span>
504
+ <a href="#" class="viewdescription">?</a>
505
+ <span class="hovertext">The one under the dashboard.</span>
506
+ </span>
507
+ </div>
508
+ </span>
509
+ <div class="showonhover">
510
+ <label for="wpv_notify">
511
+ <input type="checkbox" <?php checked(1, (int)$this->status['wpv'], true); ?> value="1" id="wpv_notify" name="_disable_updates[wpv]"> <?php _e('Remove WordPress Core Version', 'disable-updates-manager') ?>
512
+ </label>
513
+ <span>
514
+ <a href="#" class="viewdescription">?</a>
515
+ <span class="hovertext">Removes it for all users.</span>
516
+ </span>
517
+ </div>
518
  </span>
519
+ <label for="abup_notify">
520
+ <input type="checkbox" <?php checked(1, (int)$this->status['abup'], true); ?> value="1" id="abup_notify" name="_disable_updates[abup]"> <?php _e('Disable Automatic Background Updates', 'disable-updates-manager') ?>
521
+ </label>
522
+ <br>
523
+ </td>
524
+ </tr>
525
+ </tbody>
526
+ </table>
527
+ <p class="submit">
528
  <input type="submit" class="button-primary" value="<?php _e('Update Settings') ?>" />
529
+ </p>
530
+
531
+ <table class="wp-list-table widefat fixed bookmarks" style="width: 200px; border-radius: 4px;">
532
+ <tbody>
533
+ <tr>
534
+ <td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
535
  <p align="center">
536
+ <a href="http://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a> | <a href="http://www.youtube.com/watch?v=jAqd0SjLQ_M">Tutorial</a> | <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a>
537
  </p>
538
+ </td>
539
+ </tr>
540
+ </tbody>
541
+ </table>
 
542
  </form>
 
543
  </div>
544
+
545
+ <style type="text/css">
546
+ .showonhover {position: relative;}
547
+ .showonhover .hovertext {
548
+ opacity: 0;
549
+ top: -99999px;
550
+ position:absolute;
551
+ z-index:1000;
552
+ border:1px solid #ffd971;
553
+ background-color:#fffdce;
554
+ padding:7.5px;
555
+ width:170px;
556
+ font-size: 0.90em;
557
+ -webkit-transition: opacity 0.3s ease;
558
+ -moz-transition: opacity 0.3s ease;
559
+ -o-transition: opacity 0.3s ease;
560
+ transition: opacity 0.3s ease;
561
+ }
562
+ .showonhover:hover .hovertext {opacity:1;top:0;}
563
+ a.viewdescription {color:#999;}
564
+ a.viewdescription:hover {background-color:#999; color: White;}
565
+ </style>
566
 
567
+ <?php
568
  }
569
  }
570
 
571
+ // Start Disable Updates Manager once all other plugins are fully loaded.
572
  global $Disable_Updates; $Disable_Updates = new Disable_Updates();
573
 
574
+ // Plugin page link.
575
  add_filter( 'plugin_row_meta', 'thsp_plugin_meta_links', 10, 2 );
576
 
577
  function thsp_plugin_meta_links( $links, $file ) {
578
  $plugin = plugin_basename(__FILE__);
579
 
580
+ // Create links.
581
  if ( $file == $plugin ) {
582
  return array_merge(
583
  $links,
589
  return $links;
590
  }
591
 
592
+ // Add links.
593
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'thsp_plugin_action_links' );
594
 
595
  function thsp_plugin_action_links( $links ) {
596
 
597
  return array_merge(
598
+ array('settings' => '<a href="' . admin_url( 'index.php?page=stops-core-theme-and-plugin-updates/Function.php' ) . '">' . __( 'Configure', 'ts-fab' ) . '</a>'),
599
  $links);
600
  }
readme.txt CHANGED
@@ -1,6 +1,6 @@
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
4
  Requires at least: 3.0
5
  Tested up to: 3.8.1
6
  Stable tag: trunk
@@ -14,18 +14,21 @@ Their are also other settings to customize.
14
 
15
  = Features =
16
  <ol>
17
- <li>Disable a plugin individually.</li>
18
- <li>Has a simple settings page to disable any type of update.</li>
19
- <li>Has extra settings like remove the "updates" page, remove WordPress core version, or disable background updates.</li>
20
- <li>Disable all update setting disables update e-mails, debug e-mails, and more.</li>
21
- <li>Has a link to Support, FAQ, Settings, and the Tutorial.</li>
 
 
22
  </ol>
 
23
 
24
  To see more features view the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a>.
25
 
26
  = Video Tutorial =
27
- [youtube http://www.youtube.com/watch?v=jAqd0SjLQ_M]
28
- <small>Version 3.1.0 tutorial video. new one coming soon.</small>
29
 
30
  = Just Won't to Disable One or Two? =
31
  With the settings form under dashboard, it easy. Just check the things you won't disabled. Also if you would like to disable just one plugin, use the Disable Plugins Individually setting.
@@ -37,6 +40,7 @@ A: Their are a couple of differences.
37
  <li>They do not disable WordPress automatic updates.</li>
38
  <li>They do not have video tutorials and screenshots.</li>
39
  <li>They do not have settings to make it configurable.</li>
 
40
  </ol>
41
 
42
 
@@ -49,13 +53,9 @@ A: This plugin does not disable themes individual but it can disable plugins ind
49
 
50
 
51
  == Screenshots ==
52
- 1. Before View Core (Dashboard)
53
- 4. Before View Plugin (Plugin Page)
54
- 5. After View Plugin (Plugin Page)
55
- 2. Before View (Dashboard)
56
- 3. After View (Dashboard)
57
- 6. Settings Page (Disable Updates Manager)
58
- 7. Disable Plugins Individually Setting (Plugin Page)
59
 
60
  == Installation ==
61
  Their are two way to install "Disable Updates Manager".
@@ -71,14 +71,31 @@ Their are two way to install "Disable Updates Manager".
71
 
72
  <strong>2)</strong> <u><strong>Recommended</strong></u>
73
  <ol>
74
- <li>Go in your websites admin to the Plugins> Add New> page and push on the search bar.</li>
75
-
76
  <li>Search "Disable Updates Manager" and push install.</li>
77
  <li>Go to the Plugins section in your admin dashboard and activate.</li>
78
  </ol>
79
 
80
  == Changelog ==
81
  = Versions Available for Downloading =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  = 3.4.0 =
83
  * Added "Disable Plugins Individually" Setting and Section
84
  * Added Help Postbox to Settings
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.8.1
6
  Stable tag: trunk
14
 
15
  = Features =
16
  <ol>
17
+ <li>Disables plugins individually.</li>
18
+ <li>Disables plugin updates.</li>
19
+ <li>Disables theme updates.</li>
20
+ <li>Disable WordPress core updates.</li>
21
+ <li>Removes admin footer.</li>
22
+ <li>Disables backgroud updates.</li>
23
+ <li>Removes updates menu in admin sidebar.</li>
24
  </ol>
25
+ and many more things!
26
 
27
  To see more features view the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a>.
28
 
29
  = Video Tutorial =
30
+ [youtube http://www.youtube.com/watch?v=7sMEBGNxhwA]
31
+ <small>Version 3.5.0 tutorial video.</small>
32
 
33
  = Just Won't to Disable One or Two? =
34
  With the settings form under dashboard, it easy. Just check the things you won't disabled. Also if you would like to disable just one plugin, use the Disable Plugins Individually setting.
40
  <li>They do not disable WordPress automatic updates.</li>
41
  <li>They do not have video tutorials and screenshots.</li>
42
  <li>They do not have settings to make it configurable.</li>
43
+ <li>They do not disable plugins individually.</li>
44
  </ol>
45
 
46
 
53
 
54
 
55
  == Screenshots ==
56
+ 1. Settings Page
57
+ 2. Disable Plugin Updates
58
+ 3. Disable Plugins Individually
 
 
 
 
59
 
60
  == Installation ==
61
  Their are two way to install "Disable Updates Manager".
71
 
72
  <strong>2)</strong> <u><strong>Recommended</strong></u>
73
  <ol>
74
+ <li>Go in your websites admin to the Plugins> Add New> page and push on the search bar.</li>
 
75
  <li>Search "Disable Updates Manager" and push install.</li>
76
  <li>Go to the Plugins section in your admin dashboard and activate.</li>
77
  </ol>
78
 
79
  == Changelog ==
80
  = Versions Available for Downloading =
81
+ = 3.5.0 =
82
+ * Added: "Disable Plugins Individually" postbox.
83
+ * Removed: "Disable Updates Individually" section.
84
+ * Updated: screenshots.
85
+ * Updated: video tutorial.
86
+ * Updated: readme.txt description.
87
+ * Updated: code notes.
88
+ * Changed: "Disable Plugin Updates Individually" format (working on better format for upcoming versions).
89
+ * Changed: postbox format.
90
+ * Changed: "Please Note" border box to proper notice.
91
+ * Moved: CSS script.
92
+ = second update =
93
+ * Fixed: screenshot error.
94
+ * Fixed: changelog error.
95
+ * Fixed: contributor error.
96
+
97
+ (Sorry for all these errors)
98
+
99
  = 3.4.0 =
100
  * Added "Disable Plugins Individually" Setting and Section
101
  * Added Help Postbox to Settings