Version Description
(September 12, 2022) = * Fix: Fatal error when trying to send update emails
Download this release
Release Info
Developer | Papin |
Plugin | Companion Auto Update |
Version | 3.8.7 |
Comparing to | |
See all releases |
Code changes from version 3.8.6 to 3.8.7
- cau_emails.php +14 -3
- companion-auto-update.php +1 -1
- readme.txt +4 -1
cau_emails.php
CHANGED
@@ -193,7 +193,12 @@ function cau_list_theme_updates() {
|
|
193 |
|
194 |
if( $config->onoroff != 'on' ) {
|
195 |
|
196 |
-
|
|
|
|
|
|
|
|
|
|
|
197 |
$themes = get_theme_updates();
|
198 |
$list = array();
|
199 |
|
@@ -233,9 +238,15 @@ function cau_list_plugin_updates() {
|
|
233 |
|
234 |
if( $config->onoroff != 'on' ) {
|
235 |
|
236 |
-
require_once
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
|
238 |
-
|
239 |
$plugins = get_plugin_updates();
|
240 |
|
241 |
if ( !empty( $plugins ) ) {
|
193 |
|
194 |
if( $config->onoroff != 'on' ) {
|
195 |
|
196 |
+
// Check for required files
|
197 |
+
if ( !function_exists( 'get_theme_updates' ) ) {
|
198 |
+
require_once ABSPATH . 'wp-admin/includes/update.php';
|
199 |
+
}
|
200 |
+
|
201 |
+
// Begin
|
202 |
$themes = get_theme_updates();
|
203 |
$list = array();
|
204 |
|
238 |
|
239 |
if( $config->onoroff != 'on' ) {
|
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 |
+
}
|
248 |
|
249 |
+
// Begin
|
250 |
$plugins = get_plugin_updates();
|
251 |
|
252 |
if ( !empty( $plugins ) ) {
|
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.
|
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
|
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.
|
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.6 (August 11, 2022) =
|
86 |
* Tweak: Code optimization for better performance
|
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
|
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 (September 12, 2022) =
|
86 |
+
* Fix: Fatal error when trying to send update emails
|
87 |
+
|
88 |
= 3.8.6 (August 11, 2022) =
|
89 |
* Tweak: Code optimization for better performance
|
90 |
|