Companion Auto Update - Version 3.8.7.1

Version Description

(September 28, 2022) = * Tweak: Extended function_exists check with get_plugins() for the fatal error when trying to send update emails

Download this release

Release Info

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

Code changes from version 3.8.7 to 3.8.7.1

Files changed (3) hide show
  1. cau_emails.php +2 -2
  2. companion-auto-update.php +1 -1
  3. readme.txt +4 -1
cau_emails.php CHANGED
@@ -240,8 +240,8 @@ function cau_list_plugin_updates() {
240
 
241
  require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
242
 
243
- // Check for required files
244
- if ( !function_exists( 'get_plugin_updates' ) ) {
245
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
246
  require_once ABSPATH . 'wp-admin/includes/update.php';
247
  }
240
 
241
  require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
242
 
243
+ // Make sure get_plugin_updates() and get_plugins() are defined
244
+ if ( !function_exists( 'get_plugin_updates' ) OR !function_exists( 'get_plugins' ) ) {
245
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
246
  require_once ABSPATH . 'wp-admin/includes/update.php';
247
  }
companion-auto-update.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Companion Auto Update
5
  * Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
6
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
7
- * Version: 3.8.7
8
  * Author: Papin Schipper
9
  * Author URI: http://codeermeneer.nl/
10
  * Contributors: papin
4
  * Plugin Name: Companion Auto Update
5
  * Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
6
  * Description: This plugin auto updates all plugins, all themes and the wordpress core.
7
+ * Version: 3.8.7.1
8
  * Author: Papin Schipper
9
  * Author URI: http://codeermeneer.nl/
10
  * Contributors: papin
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: auto, automatic, background, update, updates, updating, automatic updates,
5
  Requires at least: 3.6.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.1
8
- Stable tag: 3.8.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -82,6 +82,9 @@ So obviously, some of you wondered what the difference would be between the defa
82
 
83
  == Changelog ==
84
 
 
 
 
85
  = 3.8.7 (September 12, 2022) =
86
  * Fix: Fatal error when trying to send update emails
87
 
5
  Requires at least: 3.6.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.1
8
+ Stable tag: 3.8.7.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
82
 
83
  == Changelog ==
84
 
85
+ = 3.8.7.1 (September 28, 2022) =
86
+ * Tweak: Extended function_exists check with get_plugins() for the fatal error when trying to send update emails
87
+
88
  = 3.8.7 (September 12, 2022) =
89
  * Fix: Fatal error when trying to send update emails
90