[wp-trac] [WordPress Trac] #11478: Use new $required_mysql_version global in wp-db.php
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 18 00:16:23 UTC 2009
#11478: Use new $required_mysql_version global in wp-db.php
-------------------------+--------------------------------------------------
Reporter: nacin | Owner: ryan
Type: enhancement | Status: new
Priority: low | Milestone: 3.0
Component: Database | Version:
Severity: trivial | Keywords: has-patch commit
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11478>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list