Blog update

Coredump’s Archives page is borked. My move from 2.2x to 2.3.1 updated the WP tables. However, since I’m using a “legacy” theme, the table references (particularly to wp_categories) hosed that page. The table wp_categories has been supplanted by wp_terms, wp_term_relationships, and wp_term_taxonomy.

Nothing that a simple SQL query change can’t remedy. So instead of

SELECT COUNT(1) FROM $wpdb->categories

I wrote

SELECT COUNT(1) FROM $wpdb->term_taxonomy WHERE taxonomy='category'

Still broken, though.

I need to change this theme real soon. Unfortunately, I don’t have the time nor the energy. *sigh* I guess I’d have to endure with this for a few more days (hopefully not weeks).

0 Responses to “Blog update”


  1. No Comments

Leave a Reply