Companion Auto Update - Version 3.2.5

Version Description

(October 26, 2018) = * Improvement: Few minor tweaks to the critical error messages

Download this release

Release Info

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

Code changes from version 3.2.4 to 3.2.5

Files changed (2) hide show
  1. companion-auto-update.php +5 -2
  2. readme.txt +4 -1
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.2.4
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
@@ -258,8 +258,11 @@ function cau_critical_errors() {
258
 
259
  }
260
 
 
261
  if( cau_critical_errors() ) {
262
- echo "<div class='error'><p><strong>".__( 'Critical Error', 'companion-auto-update' )."</strong> &dash; ".__( 'Companion Auto Update ran into a critical error. View the status log for more info.', 'companion-auto-update' )." <a href='".admin_url('tools.php?page=cau-settings&tab=status&cau_page=system')."'>Status log</a></p></div>";
 
 
263
  }
264
 
265
  // Auto Update Class
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.2.5
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
258
 
259
  }
260
 
261
+ // Show the errors
262
  if( cau_critical_errors() ) {
263
+ if( is_admin() ) {
264
+ echo "<div class='error'><p><strong>".__( 'Critical Error', 'companion-auto-update' )."</strong> &dash; ".__( 'Companion Auto Update ran into a critical error. View the status log for more info.', 'companion-auto-update' )." <a href='".admin_url('tools.php?page=cau-settings&tab=status&cau_page=system')."'>Status log</a></p></div>";
265
+ }
266
  }
267
 
268
  // Auto Update Class
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/dakel/2
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.2.4
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.2.4 (October 25, 2018) =
75
  * Fix: Errors with PHP 7.2
76
 
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.2.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 3.2.5 (October 26, 2018) =
75
+ * Improvement: Few minor tweaks to the critical error messages
76
+
77
  = 3.2.4 (October 25, 2018) =
78
  * Fix: Errors with PHP 7.2
79