[wp-trac] [WordPress Trac] #21663: Use PDO for MySQL queries when PDO is available
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 22 21:02:28 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 | Keywords: needs-patch
---------------------------+-----------------------------
the mysql_* functions are officially deprecated for PHP 5.4 and will begin
throwing E_DEPRECATED errors in the next version of PHP.
http://marc.info/?l=php-internals&m=131031747409271&w=2
Wordpress should use PDO by default, but fall back to mysql_* when PDO is
not present.
See also: #11622 for last year's discussion.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21663>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list