[wp-trac] Re: [WordPress Trac] #4806: Add missing wpdb variable definitions, remove unused ones

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 23 23:53:55 GMT 2007


#4806: Add missing wpdb variable definitions, remove unused ones
-----------------------------------+----------------------------------------
 Reporter:  filosofo               |        Owner:  anonymous
     Type:  defect                 |       Status:  new      
 Priority:  normal                 |    Milestone:  2.3      
Component:  Administration         |      Version:  2.3      
 Severity:  normal                 |   Resolution:           
 Keywords:  has-patch wpdb tables  |  
-----------------------------------+----------------------------------------
Comment (by ryan):

 Before removing vars, we need to make sure wp-admin/includes/upgrade.php
 doesn't use them.  upgrade needs to concatenate $wpdb->prefix with the
 table name for the removed tables.  We might want to set the table vars in
 wpdb to something like "categories_is_gone" instead of removing them so
 that an obvious error is generated when those tables are referenced.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4806#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list