[wp-trac] [WordPress Trac] #9953: Use Dependency Injection for wpdb Connectors

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 22 12:14:54 UTC 2010


#9953: Use Dependency Injection for wpdb Connectors
-----------------------------+----------------------------------------------
 Reporter:  jacobsantos      |        Owner:            
     Type:  feature request  |       Status:  closed    
 Priority:  normal           |    Milestone:            
Component:  General          |      Version:            
 Severity:  normal           |   Resolution:  worksforme
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by westi):

  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  Future Release =>


Comment:

 We changed the way {{{require_wp_db()}}} works in 3.1 to make it much
 easier to extend the base class only replacing what you want to.

 I think the solution we have now is good enough and works well.

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


More information about the wp-trac mailing list