Easy Updates Manager - Version 4.2.24

Version Description

  • New Video Promo!
  • Tested with WordPress 4.0 beta4.
  • Made help tab rate notice display on all tabs.
  • Rearranged the tutorials.
Download this release

Release Info

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

Code changes from version 4.1.12 to 4.2.24

Files changed (7) hide show
  1. Function.php +116 -57
  2. License.txt +339 -205
  3. assets/admin.js +1 -1
  4. assets/style.css +2 -1
  5. readme.txt +36 -5
  6. style.css +0 -46
  7. vendor/chosen/Thumbs.db +0 -0
Function.php CHANGED
@@ -3,12 +3,12 @@
3
  * @package Disable Updates Manager
4
  * @author MPS Plugins
5
  * @email webguywp@gmail.com
6
- * @version 4.2.12
7
  */
8
  /*
9
  Plugin Name: Disable Updates Manager
10
  Plugin URI: http://www.mpswp.wordpress.com
11
- Version: 4.2.12
12
  Description: A configurable plugin that disables updates for you. Easy, clean and helpful.
13
  Author: MPS Plugins
14
  Author URI: http://www.mpswp.wordpress.com
@@ -38,7 +38,7 @@ Go to the license.txt in the trunk for more information.
38
  class Disable_Updates {
39
 
40
  // Define version.
41
- const VERSION = '4.2.12';
42
 
43
  private static $page_hook = '';
44
 
@@ -62,7 +62,7 @@ class Disable_Updates {
62
  // load the values recorded.
63
  $this->load_disable_updates();
64
  }
65
-
66
  static function load_textdomain() {
67
 
68
  load_plugin_textdomain( 'disable-updates-manager', FALSE, basename( dirname( __FILE__ ) ) . '/lang' );
@@ -184,7 +184,6 @@ static function validate_settings( $value ) {
184
  $links,
185
  array( '<a href="http://www.wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a>' ),
186
  array( '<a href="http://www.wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a>' ),
187
- array( '<a href="https://www.youtube.com/watch?v=ppCxjREhF9g">Tutorial</a>' ),
188
  array( '<a href="https://github.com/Websiteguy/disable-updates-manager">GitHub</a>' )
189
  );
190
  }
@@ -606,7 +605,6 @@ add_action( 'admin_init', 'c2c_no_browser_nag' );
606
  return $r;
607
  }
608
 
609
-
610
  // Help Tab
611
  static function help_tab() {
612
  global $test_help_page;
@@ -614,8 +612,20 @@ add_action( 'admin_init', 'c2c_no_browser_nag' );
614
  $screen = get_current_screen();
615
  $content1 = <<<CONTENT1
616
 
 
 
 
 
 
 
 
 
 
 
 
 
617
  <p>
618
- Disable Updates Manager 4.2.10 is the most innovative version yet. With the last few updates, you will notice some new key features mostly in the settings page. The settings page had a major redo with its new metaboxes to make them drag and drop with cool screen options plus in the setting, we used some Chosen integration. Included in all of that is some minor fixes to the grammar and layout.
619
  <br>
620
  <br>
621
  For the code, it had a fix up. The language files got compressed into on simple file plus the code is now sorted in some more folders making it easier to navigate through.
@@ -627,15 +637,30 @@ If you are having trouble with any of the new features in Disable Updates Manage
627
  CONTENT1;
628
 
629
  $content2 = <<<CONTENT2
630
-
 
 
 
 
 
 
 
 
 
 
631
  <p>
632
  <iframe width="280" height="157" src="//www.youtube.com/embed/9vPVis3NZHI?rel=0" frameborder="0" allowfullscreen></iframe>
633
  </p>
 
634
 
635
  CONTENT2;
636
 
637
  $content3 = <<<CONTENT3
638
-
 
 
 
 
639
  <p>
640
  <a href="http://mpswp.wordpress.com">Our Website</a>
641
  <br>
@@ -649,7 +674,11 @@ CONTENT2;
649
  CONTENT3;
650
 
651
  $content4 = <<<CONTENT4
652
-
 
 
 
 
653
  <p>
654
  You can use the following controls to arrange the settings to suit your workflow.
655
  <br>
@@ -664,6 +693,9 @@ You can use the following controls to arrange the settings to suit your workflow
664
  <br>
665
  <br>
666
  <strong>Chosen</strong> - Check the Disable Themes Individually setting and/or the Disable Plugins Individually settings to enable the chosen multiply select box.
 
 
 
667
  </p>
668
 
669
  CONTENT4;
@@ -676,11 +708,30 @@ CONTENT4;
676
  <li><a href="http://profiles.wordpress.org/mps-plugins/">MPS Plugins</a></li>
677
  <li><a href="http://profiles.wordpress.org/kidsguide/">Matthew</a></li>
678
  <li><a href="http://profiles.wordpress.org/shazahm1hotmailcom/">Shazahm1</a></li>
 
679
  </ul>
680
  </p>
681
 
682
  CONTENT5;
683
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
684
  // Add my_help_tab if current screen is My Admin Page
685
  $screen->add_help_tab(array(
686
  'id' => 'help_tab_content_1',
@@ -700,6 +751,12 @@ CONTENT5;
700
  'content' => $content2,
701
  ));
702
 
 
 
 
 
 
 
703
  $screen->add_help_tab(array(
704
  'id' => 'help_tab_content_3',
705
  'title' => __('Help'),
@@ -713,9 +770,9 @@ CONTENT5;
713
  static function metabox_global( $status ) {
714
 
715
  ?>
716
-
717
- <div class="showonhover">
718
  <p>
 
719
  <label for="all_notify">
720
  <input
721
  type="checkbox" <?php checked( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ), TRUE ); ?>
@@ -728,33 +785,38 @@ CONTENT5;
728
  </span>
729
  </p>
730
  </div>
 
731
 
732
- <ul style="padding-left: 12px;">
733
- <li>
 
734
  <label for="plugins_notify">
735
  <input type="checkbox" <?php checked( 1, ( isset( $status['plugin'] ) && ! isset( $status['all'] ) ? (int) $status['plugin'] : 0 ), TRUE ); ?>
736
  value="1" id="plugins_notify"
737
  name="_disable_updates[plugin]"
738
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable All Plugin Updates', 'disable-updates-manager' ) ?>
739
  </label>
740
- </li>
741
- <li>
 
742
  <label for="themes_notify">
743
  <input type="checkbox" <?php checked( 1, ( isset( $status['theme'] ) && ! isset( $status['all'] ) ? (int) $status['theme'] : 0 ), TRUE ); ?>
744
  value="1" id="themes_notify"
745
  name="_disable_updates[theme]"
746
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable All Theme Updates', 'disable-updates-manager' ) ?>
747
  </label>
748
- </li>
749
- <li>
 
750
  <label for="core_notify">
751
  <input type="checkbox" <?php checked( 1, ( isset( $status['core'] ) && ! isset( $status['all'] ) ? (int) $status['core'] : 0 ), TRUE ); ?>
752
  value="1" id="core_notify"
753
  name="_disable_updates[core]"
754
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable WordPress Core Update', 'disable-updates-manager' ) ?>
755
  </label>
756
- </li>
757
- </ul>
 
758
 
759
  <?php
760
  }
@@ -762,8 +824,9 @@ CONTENT5;
762
  static function metabox_other( $status ) {
763
 
764
  ?>
765
- <ul>
766
- <li class="showonhover">
 
767
  <label for="page_notify">
768
  <input
769
  type="checkbox" <?php checked( 1, ( isset( $status['page'] ) ? (int) $status['page'] : 0 ), TRUE ); ?>
@@ -774,9 +837,9 @@ CONTENT5;
774
  <a href="#" class="viewdescription">?</a></a>
775
  <span class="hovertext">The page under the Dashboard tab.</span>
776
  </span>
777
- </li>
778
-
779
- <li class="showonhover">
780
  <label for="bnag_notify">
781
  <input type="checkbox" <?php checked( 1, ( isset( $status['bnag'] ) ? (int) $status['bnag'] : 0 ), TRUE ); ?>
782
  value="1" id="bnag_notify"
@@ -786,9 +849,9 @@ CONTENT5;
786
  <a href="#" class="viewdescription">?</a>
787
  <span class="hovertext">Removes the browsers is out of date notification in you WordPress dashboard.</span>
788
  </span>
789
- </li>
790
-
791
- <li class="showonhover">
792
  <label for="wpv_notify">
793
  <input
794
  type="checkbox" <?php checked( 1, ( isset( $status['wpv'] ) ? (int) $status['wpv'] : 0 ), TRUE ); ?>
@@ -799,16 +862,17 @@ CONTENT5;
799
  <a href="#" class="viewdescription">?</a>
800
  <span class="hovertext">Removes it for all users.</span>
801
  </span>
802
- </li>
803
-
804
- <li>
805
  <label for="abup_notify">
806
  <input type="checkbox" <?php checked( 1, ( isset( $status['abup'] ) ? (int) $status['abup'] : 0 ), TRUE ); ?>
807
  value="1" id="abup_notify"
808
  name="_disable_updates[abup]"> <?php _e( 'Disable Automatic Background Updates', 'disable-updates-manager' ) ?>
809
  </label>
810
- </li>
811
- <ul>
 
812
 
813
  <?php
814
  }
@@ -816,9 +880,9 @@ CONTENT5;
816
  static function metabox_themes( $status ) {
817
 
818
  ?>
819
-
820
- <div class="showonhover">
821
  <p>
 
822
  <label for="dum-disable-themes">
823
  <input type="checkbox" <?php checked( 1, ( isset( $status['it'] ) && ! isset( $status['all'] ) ? (int) $status['it'] : 0 ), TRUE ); ?>
824
  id="dum-disable-themes"
@@ -826,14 +890,13 @@ CONTENT5;
826
  name="_disable_updates[it]"
827
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable Themes Individually', 'disable-updates-manager' ) ?>
828
  </label>
829
-
830
  <span>
831
  <a href="#" class="viewdescription">?</a>
832
  <span class="hovertext">Enabling this option will show the list of themes to disable updates.</span>
833
  </span>
834
  </p>
835
  </div>
836
-
837
  <?php
838
 
839
  $themes = wp_get_themes( array( 'allowed' => TRUE ) );
@@ -861,9 +924,8 @@ CONTENT5;
861
  static function metabox_plugins( $status ) {
862
 
863
  ?>
864
-
865
- <div class="showonhover">
866
  <p>
 
867
  <label for="dum-disable-plugins">
868
  <input type="checkbox" <?php checked( 1, ( isset( $status['ip'] ) && ! isset( $status['all'] ) ? (int) $status['ip'] : 0 ), TRUE ); ?>
869
  id="dum-disable-plugins"
@@ -871,7 +933,6 @@ CONTENT5;
871
  name="_disable_updates[ip]"
872
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable Plugins Individually', 'disable-updates-manager' ) ?>
873
  </label>
874
-
875
  <span>
876
  <a href="#" class="viewdescription">?</a>
877
  <span class="hovertext">Enabling this option will show the list of plugins to disable updates.</span>
@@ -903,31 +964,27 @@ CONTENT5;
903
  }
904
 
905
  }
906
-
907
  // Settings page (under dashboard).
908
  static function display_page() {
909
  ?>
910
 
911
  <h2><?php _e( 'Disable Updates Manager', 'disable-updates-manager' ); ?></h2>
912
 
913
- <?php
914
- $status = get_option( '_disable_updates' );
915
-
916
- // Don't Allow Users to View Settings
917
- if ( ! current_user_can( 'update_core' ) ) {
918
- wp_die( __( 'You do not have permissions to access this page.' ) );
919
  }
920
- ?>
921
 
922
- <div class="dashboard-widgets-wrap">
923
-
924
- <?php get_settings_errors()?>
925
-
926
- <div class="error" style="width: auto;">
927
- <p><strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out
928
- of date, you may run into compatibility problems.</p>
929
- </div>
930
 
 
 
931
  <div id="dashboard-widgets" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
932
 
933
  <form name="dum-options" method="post" action="options.php">
@@ -958,11 +1015,13 @@ CONTENT5;
958
  </div><!-- #dashboard-widgets -->
959
 
960
  </div><!-- .dashboard-widgets-wrap -->
961
-
962
  <?php
963
  }
964
  }
965
 
 
 
966
  global $Disable_Updates;
967
  $Disable_Updates = new Disable_Updates();
968
 
3
  * @package Disable Updates Manager
4
  * @author MPS Plugins
5
  * @email webguywp@gmail.com
6
+ * @version 4.2.24
7
  */
8
  /*
9
  Plugin Name: Disable Updates Manager
10
  Plugin URI: http://www.mpswp.wordpress.com
11
+ Version: 4.2.24
12
  Description: A configurable plugin that disables updates for you. Easy, clean and helpful.
13
  Author: MPS Plugins
14
  Author URI: http://www.mpswp.wordpress.com
38
  class Disable_Updates {
39
 
40
  // Define version.
41
+ const VERSION = '4.2.24';
42
 
43
  private static $page_hook = '';
44
 
62
  // load the values recorded.
63
  $this->load_disable_updates();
64
  }
65
+
66
  static function load_textdomain() {
67
 
68
  load_plugin_textdomain( 'disable-updates-manager', FALSE, basename( dirname( __FILE__ ) ) . '/lang' );
184
  $links,
185
  array( '<a href="http://www.wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a>' ),
186
  array( '<a href="http://www.wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a>' ),
 
187
  array( '<a href="https://github.com/Websiteguy/disable-updates-manager">GitHub</a>' )
188
  );
189
  }
605
  return $r;
606
  }
607
 
 
608
  // Help Tab
609
  static function help_tab() {
610
  global $test_help_page;
612
  $screen = get_current_screen();
613
  $content1 = <<<CONTENT1
614
 
615
+ <div class="updated" id="update">
616
+
617
+ <p>Please <a href="https://wordpress.org/support/view/plugin-reviews/stops-core-theme-and-plugin-updates?rate=5#postform">rate this plugin</a> according.</p>
618
+
619
+ </div>
620
+ <div class="error" id="error">
621
+
622
+ <p><strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out
623
+ of date, you may run into compatibility problems. Check the capability tab in the help tab for more information.</p>
624
+
625
+ </div>
626
+
627
  <p>
628
+ Disable Updates Manager 4.2.22 is the most innovative version yet. With the last few updates, you will notice some new key features mostly in the settings page. The settings page had a major redo with its new metaboxes to make them drag and drop with cool screen options plus in the setting, we used some Chosen integration. Included in all of that is some minor fixes to the grammar and layout.
629
  <br>
630
  <br>
631
  For the code, it had a fix up. The language files got compressed into on simple file plus the code is now sorted in some more folders making it easier to navigate through.
637
  CONTENT1;
638
 
639
  $content2 = <<<CONTENT2
640
+ <div class="updated" id="update">
641
+
642
+ <p>Please <a href="https://wordpress.org/support/view/plugin-reviews/stops-core-theme-and-plugin-updates?rate=5#postform">rate this plugin</a> according.</p>
643
+
644
+ </div>
645
+ <div style="width:40%;padding:0 10pt 0 0;float:left;">
646
+ <p>
647
+ <iframe width="280" height="157" src="//www.youtube.com/embed/gm03k-Oxt38?rel=0" frameborder="0" allowfullscreen></iframe>
648
+ </p>
649
+ </div>
650
+ <div style="width:40%;padding:0 10pt 0 0;float:right;">
651
  <p>
652
  <iframe width="280" height="157" src="//www.youtube.com/embed/9vPVis3NZHI?rel=0" frameborder="0" allowfullscreen></iframe>
653
  </p>
654
+ </div>
655
 
656
  CONTENT2;
657
 
658
  $content3 = <<<CONTENT3
659
+ <div class="updated" id="update">
660
+
661
+ <p>Please <a href="https://wordpress.org/support/view/plugin-reviews/stops-core-theme-and-plugin-updates?rate=5#postform">rate this plugin</a> according.</p>
662
+
663
+ </div>
664
  <p>
665
  <a href="http://mpswp.wordpress.com">Our Website</a>
666
  <br>
674
  CONTENT3;
675
 
676
  $content4 = <<<CONTENT4
677
+ <div class="updated" id="update">
678
+
679
+ <p>Please <a href="https://wordpress.org/support/view/plugin-reviews/stops-core-theme-and-plugin-updates?rate=5#postform">rate this plugin</a> according.</p>
680
+
681
+ </div>
682
  <p>
683
  You can use the following controls to arrange the settings to suit your workflow.
684
  <br>
693
  <br>
694
  <br>
695
  <strong>Chosen</strong> - Check the Disable Themes Individually setting and/or the Disable Plugins Individually settings to enable the chosen multiply select box.
696
+ <br>
697
+ <br>
698
+ <strong>Tooltips</strong> - If you are having trouble figuring out how a setting works, just wave over the "?". It will display a little bubble with helpful information.
699
  </p>
700
 
701
  CONTENT4;
708
  <li><a href="http://profiles.wordpress.org/mps-plugins/">MPS Plugins</a></li>
709
  <li><a href="http://profiles.wordpress.org/kidsguide/">Matthew</a></li>
710
  <li><a href="http://profiles.wordpress.org/shazahm1hotmailcom/">Shazahm1</a></li>
711
+ <li><a href="http://profiles.wordpress.org/szepeviktor/">szepe.viktor</a></li>
712
  </ul>
713
  </p>
714
 
715
  CONTENT5;
716
 
717
+ $content6 = <<<CONTENT6
718
+ <div class="updated" id="update">
719
+
720
+ <p>Please <a href="https://wordpress.org/support/view/plugin-reviews/stops-core-theme-and-plugin-updates?rate=5#postform">rate this plugin</a> according.</p>
721
+
722
+ </div>
723
+ <p>
724
+ Works with WordPress 3.9.2 and is tested with WordPress 4.0 beta4.
725
+ <br>
726
+ <br>
727
+ This plugin is tested with popular plugins, like Jetpack, to make sure that there are no conflicts between each other.
728
+ <br>
729
+ <br>
730
+ This plugin has also been tested with popular themes to make sure that it doesn't mess up your site.
731
+ </p>
732
+
733
+ CONTENT6;
734
+
735
  // Add my_help_tab if current screen is My Admin Page
736
  $screen->add_help_tab(array(
737
  'id' => 'help_tab_content_1',
751
  'content' => $content2,
752
  ));
753
 
754
+ $screen->add_help_tab(array(
755
+ 'id' => 'help_tab_content_6',
756
+ 'title' => __('Capability'),
757
+ 'content' => $content6,
758
+ ));
759
+
760
  $screen->add_help_tab(array(
761
  'id' => 'help_tab_content_3',
762
  'title' => __('Help'),
770
  static function metabox_global( $status ) {
771
 
772
  ?>
773
+ <div>
 
774
  <p>
775
+ <div class="showonhover">
776
  <label for="all_notify">
777
  <input
778
  type="checkbox" <?php checked( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ), TRUE ); ?>
785
  </span>
786
  </p>
787
  </div>
788
+ </div>
789
 
790
+ <div style="padding-left: 12px;">
791
+ <div>
792
+ <p>
793
  <label for="plugins_notify">
794
  <input type="checkbox" <?php checked( 1, ( isset( $status['plugin'] ) && ! isset( $status['all'] ) ? (int) $status['plugin'] : 0 ), TRUE ); ?>
795
  value="1" id="plugins_notify"
796
  name="_disable_updates[plugin]"
797
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable All Plugin Updates', 'disable-updates-manager' ) ?>
798
  </label>
799
+ </div>
800
+
801
+ <div>
802
  <label for="themes_notify">
803
  <input type="checkbox" <?php checked( 1, ( isset( $status['theme'] ) && ! isset( $status['all'] ) ? (int) $status['theme'] : 0 ), TRUE ); ?>
804
  value="1" id="themes_notify"
805
  name="_disable_updates[theme]"
806
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable All Theme Updates', 'disable-updates-manager' ) ?>
807
  </label>
808
+ </div>
809
+ <br>
810
+ <div>
811
  <label for="core_notify">
812
  <input type="checkbox" <?php checked( 1, ( isset( $status['core'] ) && ! isset( $status['all'] ) ? (int) $status['core'] : 0 ), TRUE ); ?>
813
  value="1" id="core_notify"
814
  name="_disable_updates[core]"
815
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable WordPress Core Update', 'disable-updates-manager' ) ?>
816
  </label>
817
+ </p>
818
+ </div>
819
+ </div>
820
 
821
  <?php
822
  }
824
  static function metabox_other( $status ) {
825
 
826
  ?>
827
+ <div>
828
+ <p>
829
+ <div class="showonhover">
830
  <label for="page_notify">
831
  <input
832
  type="checkbox" <?php checked( 1, ( isset( $status['page'] ) ? (int) $status['page'] : 0 ), TRUE ); ?>
837
  <a href="#" class="viewdescription">?</a></a>
838
  <span class="hovertext">The page under the Dashboard tab.</span>
839
  </span>
840
+ </div>
841
+ <br>
842
+ <div class="showonhover">
843
  <label for="bnag_notify">
844
  <input type="checkbox" <?php checked( 1, ( isset( $status['bnag'] ) ? (int) $status['bnag'] : 0 ), TRUE ); ?>
845
  value="1" id="bnag_notify"
849
  <a href="#" class="viewdescription">?</a>
850
  <span class="hovertext">Removes the browsers is out of date notification in you WordPress dashboard.</span>
851
  </span>
852
+ </div>
853
+ <br>
854
+ <div class="showonhover">
855
  <label for="wpv_notify">
856
  <input
857
  type="checkbox" <?php checked( 1, ( isset( $status['wpv'] ) ? (int) $status['wpv'] : 0 ), TRUE ); ?>
862
  <a href="#" class="viewdescription">?</a>
863
  <span class="hovertext">Removes it for all users.</span>
864
  </span>
865
+ </div>
866
+ <br>
867
+ <div>
868
  <label for="abup_notify">
869
  <input type="checkbox" <?php checked( 1, ( isset( $status['abup'] ) ? (int) $status['abup'] : 0 ), TRUE ); ?>
870
  value="1" id="abup_notify"
871
  name="_disable_updates[abup]"> <?php _e( 'Disable Automatic Background Updates', 'disable-updates-manager' ) ?>
872
  </label>
873
+ </p>
874
+ </div>
875
+ </div>
876
 
877
  <?php
878
  }
880
  static function metabox_themes( $status ) {
881
 
882
  ?>
883
+ <div>
 
884
  <p>
885
+ <div class="showonhover">
886
  <label for="dum-disable-themes">
887
  <input type="checkbox" <?php checked( 1, ( isset( $status['it'] ) && ! isset( $status['all'] ) ? (int) $status['it'] : 0 ), TRUE ); ?>
888
  id="dum-disable-themes"
890
  name="_disable_updates[it]"
891
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable Themes Individually', 'disable-updates-manager' ) ?>
892
  </label>
 
893
  <span>
894
  <a href="#" class="viewdescription">?</a>
895
  <span class="hovertext">Enabling this option will show the list of themes to disable updates.</span>
896
  </span>
897
  </p>
898
  </div>
899
+ </div>
900
  <?php
901
 
902
  $themes = wp_get_themes( array( 'allowed' => TRUE ) );
924
  static function metabox_plugins( $status ) {
925
 
926
  ?>
 
 
927
  <p>
928
+ <div class="showonhover">
929
  <label for="dum-disable-plugins">
930
  <input type="checkbox" <?php checked( 1, ( isset( $status['ip'] ) && ! isset( $status['all'] ) ? (int) $status['ip'] : 0 ), TRUE ); ?>
931
  id="dum-disable-plugins"
933
  name="_disable_updates[ip]"
934
  <?php disabled( 1, ( isset( $status['all'] ) ? (int) $status['all'] : 0 ) ) ?>> <?php _e( 'Disable Plugins Individually', 'disable-updates-manager' ) ?>
935
  </label>
 
936
  <span>
937
  <a href="#" class="viewdescription">?</a>
938
  <span class="hovertext">Enabling this option will show the list of plugins to disable updates.</span>
964
  }
965
 
966
  }
967
+
968
  // Settings page (under dashboard).
969
  static function display_page() {
970
  ?>
971
 
972
  <h2><?php _e( 'Disable Updates Manager', 'disable-updates-manager' ); ?></h2>
973
 
974
+ <?php
975
+
976
+ if ( !current_user_can('manage_options') ) {
977
+ wp_die('You do not have sufficient permissions to access this page.');
 
 
978
  }
 
979
 
980
+ if ( current_user_can('manage_options') ) {
981
+
982
+ $status = get_option( '_disable_updates' );
983
+
984
+ ?>
 
 
 
985
 
986
+ <div class="dashboard-widgets-wrap">
987
+
988
  <div id="dashboard-widgets" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
989
 
990
  <form name="dum-options" method="post" action="options.php">
1015
  </div><!-- #dashboard-widgets -->
1016
 
1017
  </div><!-- .dashboard-widgets-wrap -->
1018
+
1019
  <?php
1020
  }
1021
  }
1022
 
1023
+ }
1024
+
1025
  global $Disable_Updates;
1026
  $Disable_Updates = new Disable_Updates();
1027
 
License.txt CHANGED
@@ -1,208 +1,342 @@
1
- The GPLv2 (or later) from the Free Software Foundation is the license that
2
- the WordPress software is under. Its text follows. Version 2, June 1991
3
- Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St,
4
- Fifth Floor, Boston, MA 02110, USA Everyone is permitted to copy and
5
- distribute verbatim copies of this license document, but changing it is not
6
- allowed. Preamble The licenses for most software are designed to take away
7
- your freedom to share and change it. By contrast, the GNU General Public
8
- License is intended to guarantee your freedom to share and change free
9
- software � to make sure the software is free for all its users. This
10
- General Public License applies to most of the Free Software Foundation�s
11
- software and to any other program whose authors commit to using it. (Some
12
- other Free Software Foundation software is covered by the GNU Library
13
- General Public License instead.) You can apply it to your programs, too.
14
- When we speak of free software, we are referring to freedom, not price. Our
15
- General Public Licenses are designed to make sure that you have the freedom
16
- to distribute copies of free software (and charge for this service if you
17
- wish), that you receive source code or can get it if you want it, that you
18
- can change the software or use pieces of it in new free programs; and that
19
- you know you can do these things. To protect your rights, we need to make
20
- restrictions that forbid anyone to deny you these rights or to ask you to
21
- surrender the rights. These restrictions translate to certain
22
- responsibilities for you if you distribute copies of the software, or if
23
- you modify it. For example, if you distribute copies of such a program,
24
- whether gratis or for a fee, you must give the recipients all the rights
25
- that you have. You must make sure that they, too, receive or can get the
26
- source code. And you must show them these terms so they know their rights.
27
- We protect your rights with two steps: (1) copyright the software, and (2)
28
- offer you this license which gives you legal permission to copy, distribute
29
- and/or modify the software. Also, for each author�s protection and ours, we
30
- want to make certain that everyone understands that there is no warranty
31
- for this free software. If the software is modified by someone else and
32
- passed on, we want its recipients to know that what they have is not the
33
- original, so that any problems introduced by others will not reflect on the
34
- original authors' reputations. Finally, any free program is threatened
35
- constantly by software patents. We wish to avoid the danger that
36
- redistributors of a free program will individually obtain patent licenses,
37
- in effect making the program proprietary. To prevent this, we have made it
38
- clear that any patent must be licensed for everyone�s free use or not
39
- licensed at all. The precise terms and conditions for copying, distribution
40
- and modification follow. GNU General Public License Terms and Conditions
41
- for Copying, Distribution, and Modification 0.This License applies to any
42
- program or other work which contains a notice placed by the copyright
43
- holder saying it may be distributed under the terms of this General Public
44
- License. The "Program", below, refers to any such program or work, and a
45
- "work based on the Program" means either the Program or any derivative work
46
- under copyright law: that is to say, a work containing the Program or a
47
- portion of it, either verbatim or with modifications and/or translated into
48
- another language. (Hereinafter, translation is included without limitation
49
- in the term "modification".) Each licensee is addressed as "you".
50
- Activities other than copying, distribution and modification are not
51
- covered by this License; they are outside its scope. The act of running the
52
- Program is not restricted, and the output from the Program is covered only
53
- if its contents constitute a work based on the Program (independent of
54
- having been made by running the Program). Whether that is true depends on
55
- what the Program does. 1.You may copy and distribute verbatim copies of the
56
- Program�s source code as you receive it, in any medium, provided that you
57
- conspicuously and appropriately publish on each copy an appropriate
58
- copyright notice and disclaimer of warranty; keep intact all the notices
59
- that refer to this License and to the absence of any warranty; and give any
60
- other recipients of the Program a copy of this License along with the
61
- Program. You may charge a fee for the physical act of transferring a copy,
62
- and you may at your option offer warranty protection in exchange for a fee.
63
- 2.You may modify your copy or copies of the Program or any portion of it,
64
- thus forming a work based on the Program, and copy and distribute such
65
- modifications or work under the terms of Section 1 above, provided that you
66
- also meet all of these conditions: a.You must cause the modified files to
67
- carry prominent notices stating that you changed the files and the date of
68
- any change. b.You must cause any work that you distribute or publish, that
69
- in whole or in part contains or is derived from the Program or any part
70
- thereof, to be licensed as a whole at no charge to all third parties under
71
- the terms of this License. c.If the modified program normally reads
72
- commands interactively when run, you must cause it, when started running
73
- for such interactive use in the most ordinary way, to print or display an
74
- announcement including an appropriate copyright notice and a notice that
75
- there is no warranty (or else, saying that you provide a warranty) and that
76
- users may redistribute the program under these conditions, and telling the
77
- user how to view a copy of this License. (Exception: if the Program itself
78
- is interactive but does not normally print such an announcement, your work
79
- based on the Program is not required to print an announcement.) These
80
- requirements apply to the modified work as a whole. If identifiable
81
- sections of that work are not derived from the Program, and can be
82
- reasonably considered independent and separate works in themselves, then
83
- this License, and its terms, do not apply to those sections when you
84
- distribute them as separate works. But when you distribute the same
85
- sections as part of a whole which is a work based on the Program, the
86
- distribution of the whole must be on the terms of this License, whose
87
- permissions for other licensees extend to the entire whole, and thus to
88
- each and every part regardless of who wrote it. Thus, it is not the intent
89
- of this section to claim rights or contest your rights to work written
90
- entirely by you; rather, the intent is to exercise the right to control the
91
- distribution of derivative or collective works based on the Program. In
92
- addition, mere aggregation of another work not based on the Program with
93
- the Program (or with a work based on the Program) on a volume of a storage
94
- or distribution medium does not bring the other work under the scope of
95
- this License. 3.You may copy and distribute the Program (or a work based on
96
- it, under Section 2) in object code or executable form under the terms of
97
- Sections 1 and 2 above provided that you also do one of the following:
98
- a.Accompany it with the complete corresponding machine-readable source
99
- code, which must be distributed under the terms of Sections 1 and 2 above
100
- on a medium customarily used for software interchange; or, b.Accompany it
101
- with a written offer, valid for at least three years, to give any third
102
- party, for a charge no more than your cost of physically performing source
103
- distribution, a complete machine-readable copy of the corresponding source
104
- code, to be distributed under the terms of Sections 1 and 2 above on a
105
- medium customarily used for software interchange; or, c.Accompany it with
106
- the information you received as to the offer to distribute corresponding
107
- source code. (This alternative is allowed only for noncommercial
108
- distribution and only if you received the program in object code or
109
- executable form with such an offer, in accord with Subsection b above.) The
110
- source code for a work means the preferred form of the work for making
111
- modifications to it. For an executable work, complete source code means all
112
- the source code for all modules it contains, plus any associated interface
113
- definition files, plus the scripts used to control compilation and
114
- installation of the executable. However, as a special exception, the source
115
- code distributed need not include anything that is normally distributed (in
116
- either source or binary form) with the major components (compiler, kernel,
117
- and so on) of the operating system on which the executable runs, unless
118
- that component itself accompanies the executable. If distribution of
119
- executable or object code is made by offering access to copy from a
120
- designated place, then offering equivalent access to copy the source code
121
- from the same place counts as distribution of the source code, even though
122
- third parties are not compelled to copy the source along with the object
123
- code. 4.You may not copy, modify, sublicense, or distribute the Program
124
- except as expressly provided under this License. Any attempt otherwise to
125
- copy, modify, sublicense or distribute the Program is void, and will
126
- automatically terminate your rights under this License. However, parties
127
- who have received copies, or rights, from you under this License will not
128
- have their licenses terminated so long as such parties remain in full
129
- compliance. 5.You are not required to accept this License, since you have
130
- not signed it. However, nothing else grants you permission to modify or
131
- distribute the Program or its derivative works. These actions are
132
- prohibited by law if you do not accept this License. Therefore, by
133
- modifying or distributing the Program (or any work based on the Program),
134
- you indicate your acceptance of this License to do so, and all its terms
135
- and conditions for copying, distributing or modifying the Program or works
136
- based on it. 6.Each time you redistribute the Program (or any work based on
137
- the Program), the recipient automatically receives a license from the
138
- original licensor to copy, distribute or modify the Program subject to
139
- these terms and conditions. You may not impose any further restrictions on
140
- the recipients' exercise of the rights granted herein. You are not
141
- responsible for enforcing compliance by third parties to this License.
142
- 7.If, as a consequence of a court judgment or allegation of patent
143
- infringement or for any other reason (not limited to patent issues),
144
- conditions are imposed on you (whether by court order, agreement or
145
- otherwise) that contradict the conditions of this License, they do not
146
- excuse you from the conditions of this License. If you cannot distribute so
147
- as to satisfy simultaneously your obligations under this License and any
148
- other pertinent obligations, then as a consequence you may not distribute
149
- the Program at all. For example, if a patent license would not permit
150
- royalty-free redistribution of the Program by all those who receive copies
151
- directly or indirectly through you, then the only way you could satisfy
152
- both it and this License would be to refrain entirely from distribution of
153
- the Program. If any portion of this section is held invalid or
154
- unenforceable under any particular circumstance, the balance of the section
155
- is intended to apply and the section as a whole is intended to apply in
156
- other circumstances. It is not the purpose of this section to induce you to
157
- infringe any patents or other property right claims or to contest validity
158
- of any such claims; this section has the sole purpose of protecting the
159
- integrity of the free software distribution system, which is implemented by
160
- public license practices. Many people have made generous contributions to
161
- the wide range of software distributed through that system in reliance on
162
- consistent application of that system; it is up to the author/donor to
163
- decide if he or she is willing to distribute software through any other
164
- system and a licensee cannot impose that choice. This section is intended
165
- to make thoroughly clear what is believed to be a consequence of the rest
166
- of this License. 8.If the distribution and/or use of the Program is
167
- restricted in certain countries either by patents or by copyrighted
168
- interfaces, the original copyright holder who places the Program under this
169
- License may add an explicit geographical distribution limitation excluding
170
- those countries, so that distribution is permitted only in or among
171
- countries not thus excluded. In such case, this License incorporates the
172
- limitation as if written in the body of this License. 9.The Free Software
173
- Foundation may publish revised and/or new versions of the General Public
174
- License from time to time. Such new versions will be similar in spirit to
175
- the present version, but may differ in detail to address new problems or
176
- concerns. Each version is given a distinguishing version number. If the
177
- Program specifies a version number of this License which applies to it and
178
- "any later version", you have the option of following the terms and
179
- conditions either of that version or of any later version published by the
180
- Free Software Foundation. If the Program does not specify a version number
181
- of this License, you may choose any version ever published by the Free
182
- Software Foundation. 10.If you wish to incorporate parts of the Program
183
- into other free programs whose distribution conditions are different, write
184
- to the author to ask for permission. For software which is copyrighted by
185
- the Free Software Foundation, write to the Free Software Foundation; we
186
- sometimes make exceptions for this. Our decision will be guided by the two
187
- goals of preserving the free status of all derivatives of our free software
188
- and of promoting the sharing and reuse of software generally. 11.BECAUSE
189
- THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE
190
- PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
191
- STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
192
- PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
193
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
194
- AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
195
- PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
196
- YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12.IN
197
- NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY
198
- COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
199
- PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
200
- GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
201
- USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
202
- DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
203
- PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
204
- EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
205
- SUCH DAMAGES.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
 
207
  Name: Matthew
208
  Company: MPS Plugins
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ {description}
294
+ Copyright (C) {year} {fullname}
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ {signature of Ty Coon}, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
+ Public License instead of this License.
340
 
341
  Name: Matthew
342
  Company: MPS Plugins
assets/admin.js CHANGED
@@ -23,4 +23,4 @@
23
  });
24
  }
25
 
26
- });
23
  });
24
  }
25
 
26
+ });
assets/style.css CHANGED
@@ -1,4 +1,4 @@
1
- /* Tooltips CSS */
2
  .showonhover {
3
  position: relative;
4
  }
@@ -34,6 +34,7 @@ a.viewdescription:hover {
34
  color: #FFF;
35
  }
36
 
 
37
  select.dum-enhanced-select {
38
  width: 100%;
39
  }
1
+ /* Tooltips Simple CSS */
2
  .showonhover {
3
  position: relative;
4
  }
34
  color: #FFF;
35
  }
36
 
37
+ /* Chosen CSS*/
38
  select.dum-enhanced-select {
39
  width: 100%;
40
  }
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Disable Updates Manager ===
2
  Contributors: MPS Plugins, kidsguide, shazahm1@hotmail.com, szepeviktor
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, No Browser Nag, MPS Plugins
4
  Requires at least: 3.0
5
- Tested up to: 4.0 beta
6
  Stable tag: trunk
7
 
8
  A configurable plugin that disables updates for you. Easy, clean and helpful + Great Support.
@@ -32,7 +32,9 @@ To see more features view the <a href="http://wordpress.org/plugins/stops-core-t
32
 
33
  <a href="http://www.mpswp.wordpress.com">Check our blog for beta releases, updates, and other information</a>. You can also check out our <a target="_blank" href="https://github.com/Websiteguy/disable-updates-manager">GitHub Repository</a>.
34
 
35
- = Video Tutorial =
 
 
36
  [youtube https://www.youtube.com/watch?v=9vPVis3NZHI]
37
 
38
  == Frequently Asked Questions ==
@@ -74,16 +76,45 @@ Installing Disable Updates Manager.
74
  3.That's it. You're ready to go!
75
 
76
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  = 4.2.12 =
78
  * New contributor!
79
  * Fixed unable to chosen which plugins to disable.
80
 
81
- = 4.2.11 =
82
  * Fixed screenshots.
83
  * Fixed broken links.
84
  * Added the language files again (this should fix the language issue).
85
 
86
- = 4.2.10 =
87
  * Changed blog address to <a target="_blank" href="http://mpswp.wordpress.com/">mpswp.wordpress.com</a>
88
  * Uploaded version 4.2.10 on <a target="_blank" href="https://github.com/Websiteguy/disable-updates-manager">GitHub</a>.
89
  * Added better documentation in readme.txt.
1
  === Disable Updates Manager ===
2
  Contributors: MPS Plugins, kidsguide, shazahm1@hotmail.com, szepeviktor
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, No Browser Nag, MPS Plugins, Manager, Disable, Updates
4
  Requires at least: 3.0
5
+ Tested up to: 4.0
6
  Stable tag: trunk
7
 
8
  A configurable plugin that disables updates for you. Easy, clean and helpful + Great Support.
32
 
33
  <a href="http://www.mpswp.wordpress.com">Check our blog for beta releases, updates, and other information</a>. You can also check out our <a target="_blank" href="https://github.com/Websiteguy/disable-updates-manager">GitHub Repository</a>.
34
 
35
+ = Video Tutorials =
36
+ [youtube https://www.youtube.com/watch?v=gm03k-Oxt38]
37
+
38
  [youtube https://www.youtube.com/watch?v=9vPVis3NZHI]
39
 
40
  == Frequently Asked Questions ==
76
  3.That's it. You're ready to go!
77
 
78
  == Changelog ==
79
+ = 4.2.24 =
80
+ * New Video Promo!
81
+ * Tested with WordPress 4.0 beta4.
82
+ * Made help tab rate notice display on all tabs.
83
+ * Rearranged the tutorials.
84
+
85
+ = 4.2.23* =
86
+ * Fixed debug error
87
+
88
+ = 4.2.22* =
89
+ * Fixed debug to make true.
90
+ * Moved settings notice into help tab.
91
+ * Added extra content to notice in settings.
92
+ * Added new notice in help tab.
93
+ * Added new tags to readme.txt.
94
+
95
+ = 4.2.21 =
96
+ * Added capability section to help tab.
97
+ * Added and removed a few minor things.
98
+
99
+ = 4.2.20* =
100
+ * Removed double style.css (removed the one that was not in assets).
101
+ * Changed License.txt.
102
+ * Added new contributor to help tab.
103
+ * Added capability with WordPress 3.9.2, 4.0 beta, and 4.0.
104
+ * Reformatted tooltips.
105
+ * Added some <code><br></code> and <code><div></code> classes to the settings for better spacing.
106
+ * Updated settings security.
107
+
108
  = 4.2.12 =
109
  * New contributor!
110
  * Fixed unable to chosen which plugins to disable.
111
 
112
+ = 4.2.11* =
113
  * Fixed screenshots.
114
  * Fixed broken links.
115
  * Added the language files again (this should fix the language issue).
116
 
117
+ = 4.2.10* =
118
  * Changed blog address to <a target="_blank" href="http://mpswp.wordpress.com/">mpswp.wordpress.com</a>
119
  * Uploaded version 4.2.10 on <a target="_blank" href="https://github.com/Websiteguy/disable-updates-manager">GitHub</a>.
120
  * Added better documentation in readme.txt.
style.css DELETED
@@ -1,46 +0,0 @@
1
- /* Tooltips CSS */
2
- .showonhover {
3
- position: relative;
4
- }
5
-
6
- .showonhover .hovertext {
7
- opacity: 0;
8
- top: -99999px;
9
- position: absolute;
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;
17
- -webkit-transition: opacity .3s ease;
18
- -moz-transition: opacity .3s ease;
19
- -o-transition: opacity .3s ease;
20
- transition: opacity .3s ease;
21
- }
22
-
23
- .showonhover:hover .hovertext {
24
- opacity: 1;
25
- top: 0;
26
- }
27
-
28
- a.viewdescription {
29
- color: #999;
30
- }
31
-
32
- a.viewdescription:hover {
33
- background-color: #999;
34
- color: #FFF;
35
- }
36
-
37
- /* Chosen CSS */
38
- select.dum-enhanced-select {
39
- width: 100%;
40
- }
41
-
42
- .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
43
- -webkit-box-sizing: content-box;
44
- -moz-box-sizing: content-box;
45
- box-sizing: content-box;
46
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/chosen/Thumbs.db CHANGED
Binary file