Companion Auto Update - Version 2.9.5

Version Description

(6/22/2017) = * Fixed issue where multiple emailaddresses wouldn't work.

Download this release

Release Info

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

Code changes from version 2.9.4 to 2.9.5

Files changed (2) hide show
  1. companion-auto-update.php +3 -3
  2. readme.txt +7 -1
companion-auto-update.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Companion Auto Update
4
  * Plugin URI: http://codeermeneer.nl/
5
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
6
- * Version: 2.9.4
7
  * Author: Qreative-Web
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
@@ -178,7 +178,7 @@ function cau_frontend() { ?>
178
  $sendupdate = $_POST['cau_send_update'];
179
  $wpemails = $_POST['wpemails'];
180
 
181
- $email = sanitize_email( $_POST['cau_email'] );
182
 
183
  $wpdb->query( " UPDATE $table_name SET onoroff = '$plugins' WHERE name = 'plugins' " );
184
  $wpdb->query( " UPDATE $table_name SET onoroff = '$themes' WHERE name = 'themes' " );
@@ -325,7 +325,7 @@ function schedule() {
325
  $plugin_schedule = wp_get_schedule( 'wp_update_plugins' );
326
  $theme_schedule = wp_get_schedule( 'wp_update_themes' );
327
  $core_schedule = wp_get_schedule( 'wp_version_check' );
328
- $mail_sc = wp_get_schedule( 'cau_set_schedule_mail' );
329
 
330
  if( isset( $_POST['submit'] ) ) {
331
 
3
  * Plugin Name: Companion Auto Update
4
  * Plugin URI: http://codeermeneer.nl/
5
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
6
+ * Version: 2.9.5
7
  * Author: Qreative-Web
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
178
  $sendupdate = $_POST['cau_send_update'];
179
  $wpemails = $_POST['wpemails'];
180
 
181
+ $email = sanitize_text_field( $_POST['cau_email'] );
182
 
183
  $wpdb->query( " UPDATE $table_name SET onoroff = '$plugins' WHERE name = 'plugins' " );
184
  $wpdb->query( " UPDATE $table_name SET onoroff = '$themes' WHERE name = 'themes' " );
325
  $plugin_schedule = wp_get_schedule( 'wp_update_plugins' );
326
  $theme_schedule = wp_get_schedule( 'wp_update_themes' );
327
  $core_schedule = wp_get_schedule( 'wp_version_check' );
328
+ $mail_sc = wp_get_schedule( 'cau_set_schedule_mail' );
329
 
330
  if( isset( $_POST['submit'] ) ) {
331
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/dakel/1
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: 4.8
7
- Stable tag: 2.9.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -70,6 +70,9 @@ Yes you can. Go to the dashboard > Scheduling
70
 
71
  Yes. You can control auto-updating per plugin via the plugin filter.
72
 
 
 
 
73
  == Screenshots ==
74
 
75
  1. Easily configure what you'd like to auto-update and what not
@@ -78,6 +81,9 @@ Yes. You can control auto-updating per plugin via the plugin filter.
78
 
79
  == Changelog ==
80
 
 
 
 
81
  = 2.9.4 (5/31/2017) =
82
  * Security improvements
83
 
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: 4.8
7
+ Stable tag: 2.9.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
70
 
71
  Yes. You can control auto-updating per plugin via the plugin filter.
72
 
73
+ = I'm using cPanel and auto-updating doens't work =
74
+ If you launched your website a few years ago using cPanel it could be the case that auto-updating is broken. We've contacted cPanel and they said to remove the "AUTOMATIC_UPDATER_DISABLED" line from your wp-config file.
75
+
76
  == Screenshots ==
77
 
78
  1. Easily configure what you'd like to auto-update and what not
81
 
82
  == Changelog ==
83
 
84
+ = 2.9.5 (6/22/2017) =
85
+ * Fixed issue where multiple emailaddresses wouldn't work.
86
+
87
  = 2.9.4 (5/31/2017) =
88
  * Security improvements
89