#4806 closed defect (bug) (fixed)
Add missing wpdb variable definitions, remove unused ones
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | normal | Version: | 2.3 |
| Component: | Administration | Keywords: | has-patch wpdb tables |
| Focuses: | Cc: |
Description
After reading this discussion I'm adding this patch, which defines the wpdb table-name variables and removes the deprecated table names: categories, post2cat, and link2cat.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
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.