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

WordPress Trac noreply at wordpress.org
Mon Dec 9 19:20:35 UTC 2013


#21663: Use PDO or mysqli for MySQL queries when available
-------------------------------------------------+-------------------------
 Reporter:  scottconnerly                        |       Owner:
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Database                             |  Release
 Severity:  normal                               |     Version:  3.5
 Keywords:  dev-feedback has-patch needs-        |  Resolution:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by wonderboymusic):

 If we use the OO versions of `mysql` and `mysqli`, we won't have to branch
 the code as much - the constructor would branch, but most of the methods
 are named the same and take the same args. That's probably lowest hanging
 fruit.

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


More information about the wp-trac mailing list