[wp-trac] [WordPress Trac] #42812: Use MySQLi when available by default
WordPress Trac
noreply at wordpress.org
Mon Jan 15 22:49:17 UTC 2018
#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 fixed-major | Focuses:
------------------------------------------+---------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"42455"]:
{{{
#!CommitTicketReference repository="" revision="42455"
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.
Props dd32.
Merges [42388] to the 4.9 branch.
Fixes #42812.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42812#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list