updated plugin `Companion Auto Update` version 3.9.1

This commit is contained in:
KawaiiPunk 2024-03-28 09:39:54 +00:00 committed by Gitium
parent 00c5db12cc
commit d033371227
3 changed files with 7 additions and 11 deletions

View File

@ -179,10 +179,8 @@ function cau_run_custom_hooks_p() {
// Run custom hooks on theme update
function cau_run_custom_hooks_t() {
// Create array
$allDates = array();
// Where to look for plugins
$totalNum = 0;
$dirr = get_theme_root();
$listOfAll = wp_get_themes();
@ -228,8 +226,6 @@ function cau_run_custom_hooks_t() {
}
$totalNum = 0;
// Count number of updated plugins
foreach ( $allDates as $key => $value ) $totalNum++;
@ -243,10 +239,7 @@ function cau_run_custom_hooks_t() {
// Run custom hooks on core update
function cau_run_custom_hooks_c() {
// Create array
$totalNum = 0;
// Get data
$totalNum = 0;
$fullPath = ABSPATH.'wp-includes/version.php';
$fileDate = date ( 'YmdHi', filemtime( $fullPath ) );
$update_time = wp_next_scheduled( 'wp_version_check' );

View File

@ -4,7 +4,7 @@
* Plugin Name: Companion Auto Update
* Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
* Description: This plugin auto updates all plugins, all themes and the wordpress core.
* Version: 3.9.0
* Version: 3.9.1
* Author: Papin Schipper
* Author URI: http://codeermeneer.nl/
* Contributors: papin

View File

@ -5,7 +5,7 @@ Tags: auto, automatic, background, update, updates, updating, automatic updates,
Requires at least: 5.3.0
Tested up to: 6.4
Requires PHP: 5.1
Stable tag: 3.9.0
Stable tag: 3.9.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@ -82,6 +82,9 @@ So obviously, some of you wondered what the difference would be between the defa
== Changelog ==
= 3.9.1 (March 8, 2024) =
* Fixed: Undefined variable $totalNum
= 3.9.0 (February 2, 2024) =
* Fixed: Fatal error during Cron
* Fixed: PHP deprecated error for PHP 8 and up