[wp-trac] [WordPress Trac] #14508: Always require wp-db.php

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 2 17:35:14 UTC 2010


#14508: Always require wp-db.php
----------------------------+-----------------------------------------------
 Reporter:  nacin           |       Owner:  westi   
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  3.1     
Component:  Database        |     Version:          
 Severity:  normal          |    Keywords:          
----------------------------+-----------------------------------------------

Comment(by nacin):

 We're not actually setting the $wpdb variable by including wp-db.php. Most
 drop-ins won't be affected. We're improving performance by eliminating an
 open() syscall, and we're also making it easier to extend wpdb. In fact
 the only thing we're preventing is a db drop-in that defines its own wpdb,
 which is unnecessary and easily fixed.

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


More information about the wp-trac mailing list