[wp-hackers] WPMU Category ID Updating

Brad Williams bradw at illiams.com
Wed Jan 27 21:36:12 UTC 2010

I had the same thing happen when I changed the name of a category in WPMU
2.9.1 today.  The ID changed when I updated the name


-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Jeremy Clarke
Sent: Wednesday, January 27, 2010 4:20 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] WPMU Category ID Updating

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
wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list