[wp-trac] [WordPress Trac] #12206: WPMU: Category ID changes when updating a category name
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 15 22:29:03 UTC 2010
#12206: WPMU: Category ID changes when updating a category name
--------------------------+-------------------------------------------------
Reporter: williamsba1 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 2.9.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by donncha):
An example:
The category "test" on blog 1 will have the same cat_ID as the same
category on blog 2. Rename that category to "test2" on one blog, and the
other blog will still have a category called test with the old cat_ID.
test2's cat_ID will be different though.
cat_IDs are global across all blogs, makes doing things like sitewide tags
much easier!
You can always do `is_category( 'test' )`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12206#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list