[wp-trac] [WordPress Trac] #21663: Use PDO for MySQL queries when PDO is available

WordPress Trac noreply at wordpress.org
Fri Jan 18 15:32:47 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 aaroncampbell):

 I'm really against putting all this effort into PDO and then only enabling
 it by default on sites with PHP 5.5+.  It seems like a waste.

 I'm not in love with Otto's suggestion, but it may be a good way around
 these poorly coded plugins (and they are poorly coded, we've had
 wpdb::query() for this since BEFORE v1.0).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21663#comment:62>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list