[wp-trac] [WordPress Trac] #26804: Support multiple $wpdb handlers

WordPress Trac noreply at wordpress.org
Fri Jan 10 05:28:45 UTC 2014


#26804: Support multiple $wpdb handlers
-------------------------------+------------------------------
 Reporter:  mgibbs189          |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Database           |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback


Comment:

 Could you provide an example of how this would be used? `db.php` files
 instantiate the `wpdb` class and assign it to `$wpdb`. If more than one
 file that did this was loaded, it wouldn't solve the problem because each
 one would override the previous one's `$wpdb`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26804#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list