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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 18 08:41:13 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 hakre):

 Oh I found it nice to have an actual drop-in that can fully replace the
 wpdb class. With this change, the wpdb class is always loaded - regardless
 it's used or not.

 If you want to do everybody a favor, think about providing an interface
 for the wpdb class for the future. It's still some time until this is
 possible, so it's easy to learn until then.

 I think 3.1 is a great version change to break things again, because for
 3.0 plugin authors are already trained for changes related to wpdb, so
 they can adopt fast. If you wait with this change, there probably will be
 more complaints.

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


More information about the wp-trac mailing list