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

WordPress Trac noreply at wordpress.org
Thu Jan 10 01:11:03 UTC 2013


#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 rmccue):

 Related: http://stackoverflow.com/questions/3999850/pdo-error-message

 It seems like somewhere internally in PDO it runs an `array_filter()` and
 removes the second and third elements since they're null. Yay PHP.

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


More information about the wp-trac mailing list