[wp-trac] [WordPress Trac] #21663: Use PDO for MySQL queries when PDO is available
WordPress Trac
noreply at wordpress.org
Wed Nov 28 16:08:01 UTC 2012
#21663: Use PDO for MySQL queries when PDO is available
------------------------------------+------------------------------
Reporter: scottconnerly | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------------------
Comment (by scribu):
As much as I'd like for us to just switch to PDO and be done with it, I
think scottconnerly's approach is the safest:
> WordPress should use PDO by default, but fall back to mysql_* when PDO
is not present.
Later on, if needed, we can switch the fallback from mysql_* to mysqli_*.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21663#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list