From 5e09a7d2afe5b2f90f5a295a90d03701fb498938 Mon Sep 17 00:00:00 2001 From: saint Date: Wed, 20 Nov 2024 13:58:57 +1100 Subject: [PATCH] Update (minor) Core/bin/checl-wordpressversion, removing the db check from being authoritative due to false reading with 6.7 --- bin/check-wordpressversion | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/check-wordpressversion b/bin/check-wordpressversion index e07e662..2fda09a 100755 --- a/bin/check-wordpressversion +++ b/bin/check-wordpressversion @@ -132,12 +132,11 @@ get_wp_version() { echo "Admin page reports version: ${admin_version:-not found}" >&2 } - # Compare all versions and take the highest one + # Compare all versions and take the highest one, excluding db version local versions=() [ ! -z "$wpcli_version" ] && versions+=("$wpcli_version") [ ! -z "$php_version" ] && versions+=("$php_version") [ ! -z "$file_version" ] && versions+=("$file_version") - [ ! -z "$db_version" ] && versions+=("$db_version") [ ! -z "$admin_version" ] && versions+=("$admin_version") if [ ${#versions[@]} -eq 0 ]; then