[wp-testers] Changing tag name changes category with same name

Joshua Hart jahshuah at gmail.com
Tue Mar 18 22:33:02 GMT 2008


@Jennifer,
I figured that's what was happening - terms being tied to the slug field -
but, just wanted some validation.  Thanks for the responses and I'll try
different slug names.  Thanks again.

-Josh

On Tue, Mar 18, 2008 at 3:58 PM, Jennifer Hodgdon <yahgrp at poplarware.com>
wrote:

> The tag and category names, slugs, and IDs are stored together in the
> DB in the Terms table, as of WP 2.2 (or was it 2.3?). When you create
> a tag/category with the same URL slug as an existing tag/category, WP
> recycles the term entry, and that looks like what has happened in your
> case.
>
> I'm not sure how to suggest separating them. You'd probably need to
> delete either the category or the tag, then add it back again with a
> non-matching slug (in 2.5, use the Tag or Category manage page to
> explicitly define the slug when you define the tag/category, instead
> of using the default slug, which is what happens if you use the Add
> Category or Add Tag functionality on the post edit screen). My guess
> is that if you just try to edit one of the slugs at this point,
> they'll still be tied together, but you could try that too and see if
> it works.
>
>     --Jennifer
>
> Joshua Hart wrote:
> > I wasn't sure how tags and categories are differentiated from one
> another
> > within the database, but, I found the following behavior odd:
> > I have a tag titled "life" and a category titled "Life."  I purposely
> name
> > my tags in all lower-case and my categories get the first letter
> > capitalized.  However, I noticed that the tags listed for a particular
> post
> > of mine had one tag with a capital letter as it's first letter when I
> > specifically created it in all lower case.  So, I changed the
> capitalization
> > for that tag.  Well, now the category is in all lower-case.  So I
> changed
> > the category back to have a capital letter as it's first letter and now
> the
> > tag matches the category's capitalization.  And so it went.
>
> --
> Jennifer Hodgdon * Poplar ProductivityWare
> www.poplarware.com
>
> Drupal/WordPress Sites, Themes, Modules/Plugins
> Custom Web Programming, Web Databases
> Modeling/Analysis/Palm OS Software
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list