Easy Updates Manager - Version 6.2.7

Version Description

Released 2016-12-01

  • Bug fix: Saving general settings disables logs
  • Logs now out of beta. Woo hoo!
Download this release

Release Info

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

Code changes from version 6.2.5 to 6.2.7

includes/MPSUM_Admin_Advanced.php CHANGED
@@ -266,7 +266,7 @@ class MPSUM_Admin_Advanced {
266
  <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
267
  <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
268
  <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
269
- <p><?php printf( __( 'This feature is currently in beta. Use at your own risk. Do not post support requests on WordPress.org. <a href="%s">File a GitHub issue instead</a>.', 'stops-core-theme-and-plugin-updates', 'stops-core-theme-and-plugin-updates' ), 'https://github.com/easy-updates-manager/easy-updates-manager/issues' );?></p>
270
  <input type="hidden" name="action" value='mpsum_enable_logs' />
271
  <p class="submit">
272
  <?php submit_button( __( 'Enable Logs', 'stops-core-theme-and-plugin-updates' ), 'primary', 'enable-log', false ); ?>
@@ -276,7 +276,6 @@ class MPSUM_Admin_Advanced {
276
  else:
277
  ?>
278
  <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
279
- <p><?php printf( __( 'This feature is currently in beta. Use at your own risk. Do not post support requests on WordPress.org. <a href="%s">File a GitHub issue instead</a>.', 'stops-core-theme-and-plugin-updates', 'stops-core-theme-and-plugin-updates' ), 'https://github.com/easy-updates-manager/easy-updates-manager/issues' );?></p>
280
  <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
281
  <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
282
  <input type="hidden" name="action" value='mpsum_clear_logs' />
266
  <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
267
  <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
268
  <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
269
+ <p><?php printf( __( 'This feature enables a Logs tab which will log all updates that occur. <a href="%s">See Logs on YouTube</a>.', 'stops-core-theme-and-plugin-updates', 'stops-core-theme-and-plugin-updates' ), 'https://www.youtube.com/watch?v=Z6dPPv8Wttc' );?></p>
270
  <input type="hidden" name="action" value='mpsum_enable_logs' />
271
  <p class="submit">
272
  <?php submit_button( __( 'Enable Logs', 'stops-core-theme-and-plugin-updates' ), 'primary', 'enable-log', false ); ?>
276
  else:
277
  ?>
278
  <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
 
279
  <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
280
  <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
281
  <input type="hidden" name="action" value='mpsum_clear_logs' />
includes/MPSUM_Admin_Core.php CHANGED
@@ -139,14 +139,13 @@ class MPSUM_Admin_Core {
139
  }
140
  $options_to_save[ 'email_addresses' ] = $email_addresses_to_save;
141
  }
142
-
143
  foreach( $options as $key => $value ) {
144
  if ( 'email_addresses' == $key ) continue;
145
 
146
  $option_value = sanitize_text_field( $value );
147
  $options_to_save[ sanitize_key( $key ) ] = $option_value;
148
  }
149
- //die( '<pre>' . print_r( $options_to_save, true ) );
150
 
151
  MPSUM_Updates_Manager::update_options( $options_to_save, 'core' );
152
 
@@ -184,6 +183,10 @@ class MPSUM_Admin_Core {
184
 
185
  ?>
186
  <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
 
 
 
 
187
  <h3><?php esc_html_e( 'Global Settings', 'stops-core-theme-and-plugin-updates' ); ?></h3>
188
  <table class="form-table">
189
  <tr>
@@ -357,4 +360,4 @@ class MPSUM_Admin_Core {
357
  </form>
358
  <?php
359
  } //end tab_output_plugins
360
- }
139
  }
140
  $options_to_save[ 'email_addresses' ] = $email_addresses_to_save;
141
  }
142
+
143
  foreach( $options as $key => $value ) {
144
  if ( 'email_addresses' == $key ) continue;
145
 
146
  $option_value = sanitize_text_field( $value );
147
  $options_to_save[ sanitize_key( $key ) ] = $option_value;
148
  }
 
149
 
150
  MPSUM_Updates_Manager::update_options( $options_to_save, 'core' );
151
 
183
 
184
  ?>
185
  <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
186
+ <?php
187
+ $logs = isset( $options[ 'logs' ] ) ? $options[ 'logs' ] : 'off';
188
+ ?>
189
+ <input type="hidden" name="options[logs]" value="<?php echo esc_attr( $logs ); ?>" />
190
  <h3><?php esc_html_e( 'Global Settings', 'stops-core-theme-and-plugin-updates' ); ?></h3>
191
  <table class="form-table">
192
  <tr>
360
  </form>
361
  <?php
362
  } //end tab_output_plugins
363
+ }
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 and has built-in logging features.
6
  Author: Easy Updates Manager Team
7
- Version: 6.2.5
8
  Requires at least: 4.4
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 and has built-in logging features.
6
  Author: Easy Updates Manager Team
7
+ Version: 6.2.7
8
  Requires at least: 4.4
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, roary86, bigwing
3
  Tags: updates manager, easy updates manager, disable updates manager, disable updates, update control, plugin updates, theme updates, core updates, automatic updates, multisite, logs
4
  Requires at least: 4.4
5
  Tested up to: 4.7
6
- Stable tag: 6.2.5
7
  License: GPLv2 or later
8
 
9
  Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. Also works with WordPress Multisite.
@@ -97,12 +97,22 @@ Check out our video on how the automatic updating works in WordPress.
97
 
98
  [youtube https://www.youtube.com/watch?v=Z6dPPv8Wttc]
99
 
 
 
 
 
100
  = Additional Information and FAQ =
101
 
102
  For additional information and FAQs for Easy Updates Manager check out our <a href="https://github.com/easy-updates-manager/easy-updates-manager/wiki">wiki</a>.
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
 
106
  = 6.2.5 =
107
  Released 2016-11-14
108
 
@@ -139,6 +149,9 @@ For past changelogs, please visit our <a href="https://github.com/easy-updates-m
139
 
140
  == Upgrade Notice ==
141
 
 
 
 
142
  = 6.2.5 =
143
  Bug fix: internationalization was in the wrong place
144
 
3
  Tags: updates manager, easy updates manager, disable updates manager, disable updates, update control, plugin updates, theme updates, core updates, automatic updates, multisite, logs
4
  Requires at least: 4.4
5
  Tested up to: 4.7
6
+ Stable tag: 6.2.7
7
  License: GPLv2 or later
8
 
9
  Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. Also works with WordPress Multisite.
97
 
98
  [youtube https://www.youtube.com/watch?v=Z6dPPv8Wttc]
99
 
100
+ = Does Logging work with Jetpack Manage? =
101
+
102
+ Not currently.
103
+
104
  = Additional Information and FAQ =
105
 
106
  For additional information and FAQs for Easy Updates Manager check out our <a href="https://github.com/easy-updates-manager/easy-updates-manager/wiki">wiki</a>.
107
 
108
  == Changelog ==
109
 
110
+ = 6.2.7 =
111
+ Released 2016-12-01
112
+
113
+ * Bug fix: Saving general settings disables logs
114
+ * Logs now out of beta. Woo hoo!
115
+
116
  = 6.2.5 =
117
  Released 2016-11-14
118
 
149
 
150
  == Upgrade Notice ==
151
 
152
+ = 6.2.7 =
153
+ Bug fix: logs disabled when general settings updated.
154
+
155
  = 6.2.5 =
156
  Bug fix: internationalization was in the wrong place
157