[wp-hackers] WPMU Category ID Updating

Jeremy Clarke jer at simianuprising.com
Wed Jan 27 21:19:39 UTC 2010


On Wed, Jan 27, 2010 at 3:52 PM, Tim Schoffelman
<tim at blendinteractive.com> wrote:
> Does anyone know why the category (term) ID updates when you first modify
> the category description?

Haven't done any testing but this DEFINITELY should not be happening.
That would be a horrible bug in WP.

Is it possible you're looking at the term_id and not the
term_taxonomy_id? AFAIK term_id is the one you should depend on, and
the one that matches the old 'category_id' field, whereas the
term_taxonomy_id is just used to match each particular use of a term
with a taxonomy. I might be wrong in assuming that term_id is the more
dependable of the two, but either way confusing them could be the
cause of your problems.


-- 
Jeremy Clarke | http://jeremyclarke.org
Code and Design | http://globalvoicesonline.org


More information about the wp-hackers mailing list