Opened 15 years ago
Closed 15 years ago
#11478 closed enhancement (fixed)
Use new $required_mysql_version global in wp-db.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | low |
Severity: | trivial | Version: | |
Component: | Database | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
The wpdb class check for MySQL compatibility can now be converted to the new $required_mysql_version global. This also makes the string version-independent.
There was some concern about include order when updating the rest of core to use the new globals. This one's easy, since the function already uses $wp_version.
The remaining hard-coded PHP and MySQL version numbers are all manual i18n (or part of an external package) best I can tell. It might be nice to include version.php early enough to use it across those instances, but it won't help translators. And when the time comes to boost requirements, we all know how to use grep.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
#11464