Commit 0b50baa
committed
Database: Further correct MariaDB version check in
On older PHP versions, MariaDB version is reported with the `5.5.5-` prefix, e.g. `5.5.5-10.6.24-MariaDB`.
This includes PHP 8.0.15 or earlier, as well as PHP 8.1.0—8.1.2, which was not accounted for previously.
This commit updates the condition for removing the `5.5.5-` prefix to include PHP 8.1.0—8.1.2.
Follow-up to [54384].
Props maximumsoftware, hbhalodia, SergeyBiryukov.
Fixes #64332.
git-svn-id: https://develop.svn.wordpress.org/trunk@61349 602fd350-edb4-49c9-b593-d223f7449a82wpdb::has_cap().1 parent df16189 commit 0b50baa
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4081 | 4081 | | |
4082 | 4082 | | |
4083 | 4083 | | |
4084 | | - | |
| 4084 | + | |
| 4085 | + | |
4085 | 4086 | | |
4086 | 4087 | | |
4087 | 4088 | | |
| |||
0 commit comments