WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#6909 closed enhancement (fixed)

Tags to categories converter

Reported by: azaozz Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch, needs-testing
Focuses: Cc:

Description

Shows when a term is both a category and a tag, also when a child category is converted to a tag and then converted back, restores the child status, if the parent still exists.

Attachments (2)

tag-to-cat.patch (13.0 KB) - added by azaozz 6 years ago.
tag-to-cat2.patch (20.2 KB) - added by azaozz 6 years ago.

Download all attachments as: .zip

Change History (8)

azaozz6 years ago

comment:1 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [7897]) Show when a term is both a category and a tag, also when a child category is converted to a tag and then converted back, restore the child status, if the parent still exists. Props azaozz. fixes #6909

comment:2 ryan6 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Let's test in trunk for awhile before adding to 2.5.

comment:3 azaozz6 years ago

  • Keywords needs-testing added

Take 2: converts categories to tags and tags to categories even if the term is both a category and a tag. When converting a category that is also a tag, adds the tag to all posts that are in the category and the other way around.

WordPress currently allows more than one tag with the same name if the slug is different. If there is a category with the same name too that is being converted to a tag, the converter will add the posts to the tag that has the same slug like the category.

azaozz6 years ago

comment:4 ryan6 years ago

(In [8077]) Tag to cat converter improvements from azaozz. see #6909

comment:5 ryan6 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

comment:6 ryan5 years ago

  • Milestone changed from 2.9 to 2.7
  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.