Companion Auto Update - Version 3.3.7

Version Description

(February 2, 2019) = * Fix: In some rare cases various errors showed up when saving settings, this is fixed now

Download this release

Release Info

Developer Papin
Plugin Icon 128x128 Companion Auto Update
Version 3.3.7
Comparing to
See all releases

Code changes from version 3.3.6 to 3.3.7

Files changed (3) hide show
  1. admin/dashboard.php +8 -8
  2. companion-auto-update.php +1 -1
  3. readme.txt +5 -2
admin/dashboard.php CHANGED
@@ -17,14 +17,14 @@
17
  global $wpdb;
18
  $table_name = $wpdb->prefix . "auto_updates";
19
 
20
- $plugins = sanitize_text_field( $_POST['plugins'] );
21
- $themes = sanitize_text_field( $_POST['themes'] );
22
- $minor = sanitize_text_field( $_POST['minor'] );
23
- $major = sanitize_text_field( $_POST['major'] );
24
- $translations = sanitize_text_field( $_POST['translations'] );
25
- $send = sanitize_text_field( $_POST['cau_send'] );
26
- $sendupdate = sanitize_text_field( $_POST['cau_send_update'] );
27
- $wpemails = sanitize_text_field( $_POST['wpemails'] );
28
  $email = sanitize_text_field( $_POST['cau_email'] );
29
 
30
  $wpdb->query( $wpdb->prepare( "UPDATE $table_name SET onoroff = %s WHERE name = 'plugins'", $plugins ) );
17
  global $wpdb;
18
  $table_name = $wpdb->prefix . "auto_updates";
19
 
20
+ if( isset( $_POST['plugins'] ) ) $plugins = sanitize_text_field( $_POST['plugins'] ); else $plugins = '';
21
+ if( isset( $_POST['themes'] ) ) $themes = sanitize_text_field( $_POST['themes'] ); else $themes = '';
22
+ if( isset( $_POST['minor'] ) ) $minor = sanitize_text_field( $_POST['minor'] ); else $minor = '';
23
+ if( isset( $_POST['major'] ) ) $major = sanitize_text_field( $_POST['major'] ); else $major = '';
24
+ if( isset( $_POST['translations'] ) ) $translations = sanitize_text_field( $_POST['translations'] ); else $translations = '';
25
+ if( isset( $_POST['cau_send'] ) ) $send = sanitize_text_field( $_POST['cau_send'] ); else $send = '';
26
+ if( isset( $_POST['cau_send_update'] ) ) $sendupdate = sanitize_text_field( $_POST['cau_send_update'] ); else $sendupdate = '';
27
+ if( isset( $_POST['wpemails'] ) ) $wpemails = sanitize_text_field( $_POST['wpemails'] ); else $wpemails = '';
28
  $email = sanitize_text_field( $_POST['cau_email'] );
29
 
30
  $wpdb->query( $wpdb->prepare( "UPDATE $table_name SET onoroff = %s WHERE name = 'plugins'", $plugins ) );
companion-auto-update.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Companion Auto Update
4
  * Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
5
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
6
- * Version: 3.3.6
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
3
  * Plugin Name: Companion Auto Update
4
  * Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
5
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
6
+ * Version: 3.3.7
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Papin, qweb
3
  Donate link: https://www.paypal.me/dakel/5/
4
  Tags: auto, automatic, background, update, updates, updating, automatic updates, automatic background updates, easy update, wordpress update, theme update, plugin update, up-to-date, security, update latest version, update core, update wp, update wp core, major updates, minor updates, update to new version, update core, update plugin, update plugins, update plugins automatically, update theme, plugin, theme, advance, control, mail, notifations, enable
5
  Requires at least: 3.5.0
6
- Tested up to: 5.0
7
- Stable tag: 3.3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -71,6 +71,9 @@ For some reason this plugin seems to have trouble with updating themes by Elegan
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 3.3.6 (January 14, 2019) =
75
  * Security improvements
76
 
3
  Donate link: https://www.paypal.me/dakel/5/
4
  Tags: auto, automatic, background, update, updates, updating, automatic updates, automatic background updates, easy update, wordpress update, theme update, plugin update, up-to-date, security, update latest version, update core, update wp, update wp core, major updates, minor updates, update to new version, update core, update plugin, update plugins, update plugins automatically, update theme, plugin, theme, advance, control, mail, notifations, enable
5
  Requires at least: 3.5.0
6
+ Tested up to: 5.1
7
+ Stable tag: 3.3.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 3.3.7 (February 2, 2019) =
75
+ * Fix: In some rare cases various errors showed up when saving settings, this is fixed now
76
+
77
  = 3.3.6 (January 14, 2019) =
78
  * Security improvements
79