[wp-trac] [WordPress Trac] #21663: Use PDO for MySQL queries when PDO is available
WordPress Trac
noreply at wordpress.org
Fri Jan 18 01:49:33 UTC 2013
#21663: Use PDO for MySQL queries when PDO is available
--------------------------------------------------+------------------
Reporter: scottconnerly | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.6
Component: Database | Version: 3.5
Severity: normal | Resolution:
Keywords: dev-feedback has-patch needs-testing |
--------------------------------------------------+------------------
Comment (by knutsp):
As long as we can disable mysql and enable PDO for any PHP version, and
then run or test WordPress through PDO, we are fine. For PHP < 5.5, both
drivers enabled, mysql takes priority. For PHP >= 5.5, both drivers
enabled, PDO takes priority to avoid using deprecated functionality. For
any PHP version, when only one driver is avaialable, WordPress will use
that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21663#comment:60>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list