Version Description
(5/31/2017) = * Security improvements
Download this release
Release Info
Developer | Papin |
Plugin | Companion Auto Update |
Version | 2.9.4 |
Comparing to | |
See all releases |
Code changes from version 2.9.3 to 2.9.4
- companion-auto-update.php +7 -6
- readme.txt +14 -16
companion-auto-update.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Companion Auto Update
|
4 |
-
* Plugin URI:
|
5 |
* Description: This plugin auto updates all plugins, all themes and the wordpress core.
|
6 |
-
* Version: 2.9.
|
7 |
* Author: Qreative-Web
|
8 |
-
* Author URI: http://
|
9 |
* Contributors: papin
|
10 |
* License: GPLv2 or later
|
11 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -174,11 +174,12 @@ function cau_frontend() { ?>
|
|
174 |
$minor = $_POST['minor'];
|
175 |
$major = $_POST['major'];
|
176 |
$translations = $_POST['translations'];
|
177 |
-
$email = $_POST['cau_email'];
|
178 |
$send = $_POST['cau_send'];
|
179 |
$sendupdate = $_POST['cau_send_update'];
|
180 |
$wpemails = $_POST['wpemails'];
|
181 |
|
|
|
|
|
182 |
$wpdb->query( " UPDATE $table_name SET onoroff = '$plugins' WHERE name = 'plugins' " );
|
183 |
$wpdb->query( " UPDATE $table_name SET onoroff = '$themes' WHERE name = 'themes' " );
|
184 |
$wpdb->query( " UPDATE $table_name SET onoroff = '$minor' WHERE name = 'minor' " );
|
@@ -270,7 +271,7 @@ function cau_frontend() { ?>
|
|
270 |
<td>
|
271 |
<p>
|
272 |
<input id="wpemails" name="wpemails" type="checkbox" <?php if( $cau_configs[9]->onoroff == 'on' ) { echo 'checked'; } ?> />
|
273 |
-
<label for="wpemails"><?php _e('By default wordpress sends an email when a core update happend
|
274 |
</p>
|
275 |
</td>
|
276 |
</tr>
|
@@ -401,7 +402,7 @@ function schedule() {
|
|
401 |
</table>
|
402 |
|
403 |
<h2 class="title"><?php _e('Email Notifications', 'companion-auto-update');?></h2>
|
404 |
-
<?php _e('How often should notifications be send? (
|
405 |
<table class="form-table">
|
406 |
<tr>
|
407 |
<th scope="row"><?php _e('Email Notifications', 'companion-auto-update');?></th>
|
1 |
<?php
|
2 |
/*
|
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
|
10 |
* License: GPLv2 or later
|
11 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
174 |
$minor = $_POST['minor'];
|
175 |
$major = $_POST['major'];
|
176 |
$translations = $_POST['translations'];
|
|
|
177 |
$send = $_POST['cau_send'];
|
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' " );
|
185 |
$wpdb->query( " UPDATE $table_name SET onoroff = '$minor' WHERE name = 'minor' " );
|
271 |
<td>
|
272 |
<p>
|
273 |
<input id="wpemails" name="wpemails" type="checkbox" <?php if( $cau_configs[9]->onoroff == 'on' ) { echo 'checked'; } ?> />
|
274 |
+
<label for="wpemails"><?php _e('By default wordpress sends an email when a core update happend. Uncheck this box to disable these emails.', 'companion-auto-update');?></label>
|
275 |
</p>
|
276 |
</td>
|
277 |
</tr>
|
402 |
</table>
|
403 |
|
404 |
<h2 class="title"><?php _e('Email Notifications', 'companion-auto-update');?></h2>
|
405 |
+
<?php _e('How often should notifications be send? (Default daily)', 'companion-auto-update'); ?>
|
406 |
<table class="form-table">
|
407 |
<tr>
|
408 |
<th scope="row"><?php _e('Email Notifications', 'companion-auto-update');?></th>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Papin
|
|
3 |
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.
|
7 |
-
Stable tag: 2.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -29,20 +29,13 @@ We give you full control over what is updated and what isn't, via the settings p
|
|
29 |
1. Successful Update: Sends an email when something has been updated (Disabled by default).
|
30 |
1. Core Emails: By default wordpress sends an email when a core update happend, you can now disable this.
|
31 |
|
32 |
-
Email notifications are send once a day in order to prevent spamming :)
|
33 |
-
|
34 |
= Advanced Controls =
|
35 |
You can control auto-updating per plugin via the plugin filter.
|
36 |
For example: If you have Woocommerce installed but you do not wan't to have it auto-updated you can now disable auto-updating for Woocommerce only, so your other plugins will continue to be updated.
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
Want to help develop?
|
42 |
-
Go to our [Github](https://github.com/DakelNL/Companion-Auto-Update)
|
43 |
-
|
44 |
-
Want to help translate?
|
45 |
-
Submit your translations [Here](https://translate.wordpress.org/projects/wp-plugins/companion-auto-update)
|
46 |
|
47 |
== Installation ==
|
48 |
|
@@ -56,6 +49,9 @@ Submit your translations [Here](https://translate.wordpress.org/projects/wp-plug
|
|
56 |
1. Click install.
|
57 |
1. Activate.
|
58 |
|
|
|
|
|
|
|
59 |
== Frequently Asked Questions ==
|
60 |
|
61 |
= Where can I find the settings? =
|
@@ -64,16 +60,15 @@ You can find the settings under Tools > Auto updating
|
|
64 |
|
65 |
= How often does this plugin check for updates? =
|
66 |
|
67 |
-
It's constantly checking for updates. If you have more visitors, it'll check more often.
|
68 |
-
|
69 |
-
= How often does it actually update? =
|
70 |
-
|
71 |
The auto-updater is run once twice a day by default, however you can change this to hourly or daily.
|
72 |
|
73 |
= Can I change how often it checks and/or updates? =
|
74 |
|
75 |
Yes you can. Go to the dashboard > Scheduling
|
76 |
|
|
|
|
|
|
|
77 |
|
78 |
== Screenshots ==
|
79 |
|
@@ -83,6 +78,9 @@ Yes you can. Go to the dashboard > Scheduling
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
86 |
= 2.9.3 (4/15/2017) =
|
87 |
* Change how often notifications are sent (defaults to daily)
|
88 |
|
3 |
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 |
|
29 |
1. Successful Update: Sends an email when something has been updated (Disabled by default).
|
30 |
1. Core Emails: By default wordpress sends an email when a core update happend, you can now disable this.
|
31 |
|
|
|
|
|
32 |
= Advanced Controls =
|
33 |
You can control auto-updating per plugin via the plugin filter.
|
34 |
For example: If you have Woocommerce installed but you do not wan't to have it auto-updated you can now disable auto-updating for Woocommerce only, so your other plugins will continue to be updated.
|
35 |
|
36 |
+
= Scheduling =
|
37 |
+
You can change how often the updater runs, it defaults to twice daily but you can change this to hourly or daily.
|
38 |
+
The same settings can be changed for notifications.
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
== Installation ==
|
41 |
|
49 |
1. Click install.
|
50 |
1. Activate.
|
51 |
|
52 |
+
= Settings =
|
53 |
+
Settings can be found trough Tools > Auto Updater
|
54 |
+
|
55 |
== Frequently Asked Questions ==
|
56 |
|
57 |
= Where can I find the settings? =
|
60 |
|
61 |
= How often does this plugin check for updates? =
|
62 |
|
|
|
|
|
|
|
|
|
63 |
The auto-updater is run once twice a day by default, however you can change this to hourly or daily.
|
64 |
|
65 |
= Can I change how often it checks and/or updates? =
|
66 |
|
67 |
Yes you can. Go to the dashboard > Scheduling
|
68 |
|
69 |
+
= Can I disable auto updating for certain plugins? =
|
70 |
+
|
71 |
+
Yes. You can control auto-updating per plugin via the plugin filter.
|
72 |
|
73 |
== Screenshots ==
|
74 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 2.9.4 (5/31/2017) =
|
82 |
+
* Security improvements
|
83 |
+
|
84 |
= 2.9.3 (4/15/2017) =
|
85 |
* Change how often notifications are sent (defaults to daily)
|
86 |
|