Companion Auto Update - Version 3.2.4

Version Description

(October 25, 2018) = * Fix: Errors with PHP 7.2

Download this release

Release Info

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

Code changes from version 3.2.3 to 3.2.4

Files changed (3) hide show
  1. cau_functions.php +10 -6
  2. companion-auto-update.php +1 -1
  3. readme.txt +4 -1
cau_functions.php CHANGED
@@ -2,12 +2,16 @@
2
 
3
  function checkAutomaticUpdaterDisabled() {
4
 
5
- if( doing_filter( 'AUTOMATIC_UPDATER_DISABLED' ) ) {
6
- return true;
7
- } elseif( automatic_updater_disabled == 'true' OR AUTOMATIC_UPDATER_DISABLED == 'true' ) {
8
- return true;
9
- } elseif( automatic_updater_disabled == 'minor' OR AUTOMATIC_UPDATER_DISABLED == 'minor' ) {
10
- return true;
 
 
 
 
11
  } else {
12
  return false;
13
  }
2
 
3
  function checkAutomaticUpdaterDisabled() {
4
 
5
+ if ( defined( 'automatic_updater_disabled' ) OR defined( 'AUTOMATIC_UPDATER_DISABLED' ) ) {
6
+ if( doing_filter( 'AUTOMATIC_UPDATER_DISABLED' ) ) {
7
+ return true;
8
+ } elseif( automatic_updater_disabled == 'true' OR AUTOMATIC_UPDATER_DISABLED == 'true' ) {
9
+ return true;
10
+ } elseif( automatic_updater_disabled == 'minor' OR AUTOMATIC_UPDATER_DISABLED == 'minor' ) {
11
+ return true;
12
+ } else {
13
+ return false;
14
+ }
15
  } else {
16
  return false;
17
  }
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.3
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.2.4
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * Contributors: papin
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.3
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.3 (October 25, 2018) =
75
  * Improved: New error notification when plugins runs into a critical error
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.4
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.4 (October 25, 2018) =
75
+ * Fix: Errors with PHP 7.2
76
+
77
  = 3.2.3 (October 25, 2018) =
78
  * Improved: New error notification when plugins runs into a critical error
79