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

WordPress Trac noreply at wordpress.org
Sat Feb 22 00:53:56 UTC 2014


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

Comment (by markoheijnen):

 Pento: Your last changes will not work since use_mysqli is a private
 property. Also the patch is not backwards compatible when people use
 socket connections and it's not the default one in php.ini. See
 https://github.com/markoheijnen/wp-db-
 driver/commit/ac7700d4eb20d05dd91edf0ead63727153bb7e12.

 I still am curious why you used mysqli_real_connect.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21663#comment:185>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list