Companion Auto Update - Version 3.8.2

Version Description

(July 1, 2021) = * Fix: Error: Call to undefined function get_plugin_updates()

Download this release

Release Info

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

Code changes from version 3.8.1 to 3.8.2

cau_emails.php CHANGED
@@ -234,6 +234,8 @@ function cau_list_plugin_updates() {
234
  if( $config->onoroff != 'on' ) {
235
 
236
  require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
 
 
237
  $plugins = get_plugin_updates();
238
 
239
  if ( !empty( $plugins ) ) {
234
  if( $config->onoroff != 'on' ) {
235
 
236
  require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
237
+
238
+ if ( !function_exists( 'get_plugin_updates' ) ) require_once ABSPATH . 'wp-admin/includes/update.php';
239
  $plugins = get_plugin_updates();
240
 
241
  if ( !empty( $plugins ) ) {
cau_functions.php CHANGED
@@ -1373,7 +1373,7 @@ function cau_delayed_updates__formated() {
1373
  // Add "put on hold" timestamp to the database if it hasn't been set yet
1374
  function cau_hold_updates() {
1375
 
1376
- require_once( ABSPATH.'wp-admin/includes/plugin-install.php' );
1377
  $plugins = get_plugin_updates();
1378
 
1379
  if ( !empty( $plugins ) ) {
1373
  // Add "put on hold" timestamp to the database if it hasn't been set yet
1374
  function cau_hold_updates() {
1375
 
1376
+ if ( !function_exists( 'get_plugin_updates' ) ) require_once ABSPATH . 'wp-admin/includes/update.php';
1377
  $plugins = get_plugin_updates();
1378
 
1379
  if ( !empty( $plugins ) ) {
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.8.1
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.8.2
7
  * Author: Papin Schipper
8
  * Author URI: http://codeermeneer.nl/
9
  * 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: 5.7
7
  Requires PHP: 5.1
8
- Stable tag: 3.8.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -81,6 +81,9 @@ So obviously, some of you wondered what the difference would be between the defa
81
 
82
  == Changelog ==
83
 
 
 
 
84
  = 3.8.1 (June 4, 2021) =
85
  * New: Be notified when we need your help updating to a new database version [Feature Request](https://wordpress.org/support/topic/feature-request-839/)
86
  * Tweak: Made some under the hood performance improvements
5
  Requires at least: 3.6.0
6
  Tested up to: 5.7
7
  Requires PHP: 5.1
8
+ Stable tag: 3.8.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
81
 
82
  == Changelog ==
83
 
84
+ = 3.8.2 (July 1, 2021) =
85
+ * Fix: Error: Call to undefined function get_plugin_updates()
86
+
87
  = 3.8.1 (June 4, 2021) =
88
  * New: Be notified when we need your help updating to a new database version [Feature Request](https://wordpress.org/support/topic/feature-request-839/)
89
  * Tweak: Made some under the hood performance improvements