Update (minor) Core/bin/checl-wordpressversion, removing the db check from being authoritative due to false reading with 6.7
This commit is contained in:
parent
60f6b0b799
commit
5e09a7d2af
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user