[wp-trac] [WordPress Trac] #42812: Use MySQLi when available by default

WordPress Trac noreply at wordpress.org
Tue Dec 12 05:42:14 UTC 2017


#42812: Use MySQLi when available by default
------------------------------+---------------------
 Reporter:  dd32              |       Owner:  dd32
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.9.2
Component:  Database          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Changes (by dd32):

 * owner:   => dd32
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42388"]:
 {{{
 #!CommitTicketReference repository="" revision="42388"
 WPDB: Always use `mysqli` when available.

 This change makes WordPress use `mysqli` on PHP <5.5 when available,
 instead of only in PHP 5.5+ and development installs.

 WPDB includes a fallback to `mysql` in the event that the database
 connection fails with `mysqli` so incompatibilities should be few and far
 between.

 Fixes #42812 for trunk.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42812#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list