Forums

The new tag entry feature gets corrupted (1 post)

  1. Ron Fredericks
    Member
    Posted 4 years ago #

    I found a problem in the way WordPress 2.3.3 manages the new tag entry feature.

    Description:
    Some tags entered on the tag command line get converted to a new tag name during the save process. The tag command line I’m talking about is the entry location titled “Tags (separate multiple tags with commas: cats, pet food, dogs)”.

    Demonstration of the problem:
    I enter the tag word “test_tag”, and then save my post. The tag “test_tag” would disappear but a new tag word be inserted into the list of tags, say “another_tag_test”. When I put my mouse over the hyperlink associated with “another_tag_test”, in the published blog post, I see the link to the original tag http://myblog/tag/test_tag.

    I looked into my MySQL database and found the problem. In the table “_terms” there is a list of “name” to “slug” relationships. In my case there were two entries for “another_test_tag” in the “name” field, with one of them being associated in the “slug” field to “test_tag”.

    Suggested solutions:
    The quick fix solution for me was to use phpMyAdmin to browse the table “_terms”. Find the record associating “another_test_tag” with “test_tag”. Delete this record.

    It seems to me there should never be duplicate “name” entries in the first place. I also suggest including a menu item somewhere so we can search, edit, and delete, these name->slug associations.

    How did this happen:
    I was entering new blog post catagories and then deleting them as I thought through the design process. Somehow, my "_terms" table got corrupted - at least I think that is how the problem was originally created - not sure though.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by Ron Fredericks
  • This topic is not resolved
  • WordPress version: 2.3.3

Tags