Companion Auto Update - Version 3.4.2.1

Version Description

Download this release

Release Info

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

Code changes from version 3.4.2 to 3.4.2.1

Files changed (3) hide show
  1. admin/dashboard.php +12 -0
  2. companion-auto-update.php +9 -1
  3. readme.txt +7 -11
admin/dashboard.php CHANGED
@@ -194,4 +194,16 @@
194
  <p style="font-size: 12px; color: #BDBDBD;">Donations via PayPal. Amount can be changed.</p>
195
  </div>
196
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  </div>
194
  <p style="font-size: 12px; color: #BDBDBD;">Donations via PayPal. Amount can be changed.</p>
195
  </div>
196
 
197
+ <?php
198
+
199
+ if( date( "Y" ) < '2020' ) {
200
+ echo '<div style="background: #CDE4E3; color: #273654; padding: 15px; border-radius: 5px;">
201
+ <p style="margin-top: 0;"><strong>For every $10 you donate to one of our plugins we’ll donate $10 to team trees.</strong></p>
202
+ <img src="https://teamtrees.org/images/logo-teamtrees-full.svg">
203
+ <p style="margin-bottom: 0;"><a href="https://codeermeneer.nl/blog/companion-supports-teamtrees/" target="_blank" style="color: #273654; font-weight: bold; text-decoration: underline;">Read our blog-post</a></p>
204
+ </div>';
205
+ }
206
+
207
+ ?>
208
+
209
  </div>
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.4.2
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
@@ -224,6 +224,14 @@ add_action( 'wp_dashboard_setup', 'cau_add_widget' );
224
 
225
  function cau_widget() {
226
 
 
 
 
 
 
 
 
 
227
  echo '<style>table.autoupdatewidget { border: 0px solid transparent; border-bottom: 1px solid #EEEEEE; margin: 0 -12px; width: calc(100% + 24px); } table.autoupdatewidget tr td { border-top: 1px solid #EEEEEE; padding: 9px 12px 5px 12px; background: #FAFAFA; } .cau_divide { display: inline-block; color: #E7E0DF; padding: 0 2px; } </style>';
228
  echo '<p>'.__('Below are the last 7 updates ran on this site. Includes plugins and themes, both automatically updated and manually updated.', 'companion-auto-update').'</p>';
229
  cau_fetch_log( '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.4.2.1
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
224
 
225
  function cau_widget() {
226
 
227
+ if( date( "Y" ) < '2020' ) {
228
+ echo '<div style="background: #CDE4E3; color: #273654; padding: 15px; border-radius: 5px;">
229
+ <p style="margin-top: 0;"><strong>For every $10 you donate to one of our plugins we’ll donate $10 to team trees.</strong></p>
230
+ <img src="https://teamtrees.org/images/logo-teamtrees-full.svg">
231
+ <p style="margin-bottom: 0;"><a href="https://codeermeneer.nl/blog/companion-supports-teamtrees/" target="_blank" style="color: #273654; font-weight: bold; text-decoration: underline;">Read our blog-post</a></p>
232
+ </div>';
233
+ }
234
+
235
  echo '<style>table.autoupdatewidget { border: 0px solid transparent; border-bottom: 1px solid #EEEEEE; margin: 0 -12px; width: calc(100% + 24px); } table.autoupdatewidget tr td { border-top: 1px solid #EEEEEE; padding: 9px 12px 5px 12px; background: #FAFAFA; } .cau_divide { display: inline-block; color: #E7E0DF; padding: 0 2px; } </style>';
236
  echo '<p>'.__('Below are the last 7 updates ran on this site. Includes plugins and themes, both automatically updated and manually updated.', 'companion-auto-update').'</p>';
237
  cau_fetch_log( '7' );
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: Papin, qweb
3
  Donate link: https://www.paypal.me/dakel/10/
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.2
7
  Requires PHP: 5.1
8
- Stable tag: 3.4.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,6 +13,9 @@ This plugin automatically updates all plugins, all themes and the wordpress core
13
 
14
  == Description ==
15
 
 
 
 
16
  = Keep your website safe! =
17
  We understand that you might not always be able to check if your wordpress site has any updates that need to be installed, especially when you maintain multiple websites keeping them up-to-date can be a lot of work.
18
  This plugin enables background auto-updating for all plugins, all themes and the wordpress core (both major and minor updates).
@@ -51,17 +54,10 @@ Settings can be found trough Tools > Auto Updater
51
 
52
  == Frequently Asked Questions ==
53
 
54
- = Can I disable auto updating for certain plugins? =
55
-
56
- Yes. You can control auto-updating per plugin via the plugin filter.
57
-
58
- = I'm using cPanel and auto-updating doesn't work =
59
-
60
- A few years ago cPanel added a line by default that would disable auto-updating. According to cPanel this can be fixed by removing the line "AUTOMATIC_UPDATER_DISABLED" from your wp-config file.
61
 
62
- = My theme by Elegant Themes is not updating =
63
 
64
- For some reason this plugin seems to have trouble with updating themes by Elegant Themes on some installs. I've reached out to Elegant Themes and they couldn't help me. They said that if you're experiencing problems with it you should contact them and they would help you with it.
65
 
66
  == Screenshots ==
67
 
3
  Donate link: https://www.paypal.me/dakel/10/
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.3
7
  Requires PHP: 5.1
8
+ Stable tag: 3.4.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ = For every $10 you donate to one of our plugins we’ll donate $10 to team trees. =
17
+ [Read our blog post](https://codeermeneer.nl/blog/companion-supports-teamtrees/)
18
+
19
  = Keep your website safe! =
20
  We understand that you might not always be able to check if your wordpress site has any updates that need to be installed, especially when you maintain multiple websites keeping them up-to-date can be a lot of work.
21
  This plugin enables background auto-updating for all plugins, all themes and the wordpress core (both major and minor updates).
54
 
55
  == Frequently Asked Questions ==
56
 
57
+ = Check our website for the FAQ =
 
 
 
 
 
 
58
 
59
+ [https://codeermeneer.nl/documentation/auto-update/faq-auto-updater/](https://codeermeneer.nl/documentation/auto-update/faq-auto-updater/)
60
 
 
61
 
62
  == Screenshots ==
63