[wp-trac] [WordPress Trac] #21663: Use PDO or mysqli for MySQL queries when available
WordPress Trac
noreply at wordpress.org
Mon Nov 11 23:30:09 UTC 2013
#21663: Use PDO or mysqli for MySQL queries when available
--------------------------------------------------+------------------
Reporter: scottconnerly | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.8
Component: Database | Version: 3.5
Severity: normal | Resolution:
Keywords: dev-feedback has-patch needs-testing |
--------------------------------------------------+------------------
Comment (by wonderboymusic):
Added a patch based on the latest code on GitHub. I added a `wpdb_drivers`
filter in `wpdb::set_driver()` to allow someone to shove another slug in
there. I ran unit tests with each driver, everything works.
Feedback more than welcome, just wanted to get the ball rolling.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21663#comment:124>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list