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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 5 22:34:08 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 wpmuguru):

 Replying to [comment:7 ryan]:
 > These DB drop-ins break with almost every release anyway. It's tempting
 to add a wpdb API revision and die if db.php doesn't declare compat with
 that revision.

 I think 2.8 was the first major release in quite a while where the DB
 wasn't changed. Switching this around so DB plugins can inherit the
 default wpdb class should make it so that DB plugins won't need to be
 updated with every release of WordPress.

 +1 from this DB plugin dev :)

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


More information about the wp-trac mailing list