[wp-trac] [WordPress Trac] #25228: wpdb::db_version() not permissive enough

WordPress Trac noreply at wordpress.org
Wed Sep 4 20:38:28 UTC 2013


#25228: wpdb::db_version() not permissive enough
-----------------------------+------------------------------
 Reporter:  ozh              |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by nacin):

 I think `5.5` would be preferred, and it's why the regex does what it
 does.

 We could strip of `mysql-` from the start of a string, but I'd want to A)
 question what server would ever do this, B) wonder what else we'd need to
 strip off, and C) wonder if this is worth accounting for?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25228#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list