Easy Updates Manager - Version 5.4.1

Version Description

Released 2015-10-31

  • Fixing styles being used elsewhere besides the EUM dashboard
Download this release

Release Info

Developer ronalfy
Plugin Icon 128x128 Easy Updates Manager
Version 5.4.1
Comparing to
See all releases

Code changes from version 5.4.0 to 5.4.1

Files changed (3) hide show
  1. includes/MPSUM_Admin.php +16 -3
  2. main.php +1 -1
  3. readme.txt +9 -1
includes/MPSUM_Admin.php CHANGED
@@ -153,11 +153,24 @@ class MPSUM_Admin {
153
  }
154
 
155
  public function enqueue_scripts() {
156
- if ( isset( $_GET[ 'tab' ] ) && $_GET[ 'tab' ] != 'dashboard' ) {
 
 
 
 
157
  return;
 
 
 
 
158
  }
159
- wp_enqueue_script( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/js/admin.js' ), array( 'jquery' ), '20151028', true );
160
- wp_enqueue_style( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/css/style.css' ), array(), '20151028' );
 
 
 
 
 
161
  }
162
 
163
  /**
153
  }
154
 
155
  public function enqueue_scripts() {
156
+ $pagenow = isset( $_GET[ 'page' ] ) ? $_GET[ 'page' ] : false;
157
+ $is_active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : false;
158
+
159
+ //Check to make sure we're on the mpsum admin page
160
+ if ( $pagenow != 'mpsum-update-options' ) {
161
  return;
162
+ } else {
163
+ if ( count( $_GET ) == 1 && $_GET[ 'page' ] == 'mpsum-update-options' ) {
164
+ $is_active_tab = 'dashboard';
165
+ }
166
  }
167
+ //Return of now active tabs
168
+ if ( $is_active_tab == false || $is_active_tab != 'dashboard' ) {
169
+ return;
170
+ }
171
+
172
+ wp_enqueue_script( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/js/admin.js' ), array( 'jquery' ), '20151031', true );
173
+ wp_enqueue_style( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/css/style.css' ), array(), '20151031' );
174
  }
175
 
176
  /**
main.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Easy Updates Manager
4
  Plugin URI: https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
5
  Description: Manage and disable WordPress updates, including core, plugin, theme, and automatic updates - Works with Multisite.
6
  Author: kidsguide, ronalfy, pixolin, roary86
7
- Version: 5.4.0
8
  Requires at least: 4.3
9
  Author URI: https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
10
  Contributors: kidsguide, ronalfy
4
  Plugin URI: https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
5
  Description: Manage and disable WordPress updates, including core, plugin, theme, and automatic updates - Works with Multisite.
6
  Author: kidsguide, ronalfy, pixolin, roary86
7
+ Version: 5.4.1
8
  Requires at least: 4.3
9
  Author URI: https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
10
  Contributors: kidsguide, ronalfy
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: kidsguide, ronalfy, pixolin, roary86
3
  Tags: updates manager, easy updates manager, disable updates manager, disable updates, update control, plugin updates, theme updates, core updates, automatic updates, multisite
4
  Requires at least: 4.3
5
  Tested up to: 4.3.1
6
- Stable tag: 5.4.0
7
  License: GPLv2 or later
8
 
9
  Manage all your WordPress updates, including individual plugin/theme updates, automatic updates, and loads more. Also works with WordPress Multisite.
@@ -94,6 +94,11 @@ For additional information and FAQs for Easy Updates Manager check out our <a hr
94
 
95
  == Changelog ==
96
 
 
 
 
 
 
97
  = 5.4.0 =
98
  Released 2015-10-30
99
 
@@ -154,6 +159,9 @@ In version 5.0.0 we completely re-wrote the plugin to offer a faster and more se
154
 
155
  == Upgrade Notice ==
156
 
 
 
 
157
  = 5.4.0 =
158
  Major dashboard overhaul and WordPress 4.4 preparation
159
 
3
  Tags: updates manager, easy updates manager, disable updates manager, disable updates, update control, plugin updates, theme updates, core updates, automatic updates, multisite
4
  Requires at least: 4.3
5
  Tested up to: 4.3.1
6
+ Stable tag: 5.4.1
7
  License: GPLv2 or later
8
 
9
  Manage all your WordPress updates, including individual plugin/theme updates, automatic updates, and loads more. Also works with WordPress Multisite.
94
 
95
  == Changelog ==
96
 
97
+ = 5.4.1 =
98
+ Released 2015-10-31
99
+
100
+ * Fixing styles being used elsewhere besides the EUM dashboard
101
+
102
  = 5.4.0 =
103
  Released 2015-10-30
104
 
159
 
160
  == Upgrade Notice ==
161
 
162
+ = 5.4.1 =
163
+ Fixing styling issues where EUM styles were being used elsewhere.
164
+
165
  = 5.4.0 =
166
  Major dashboard overhaul and WordPress 4.4 preparation
167