Make WordPress Core

Opened 5 years ago

Closed 6 months ago

#16369 closed enhancement (fixed)

Tag to category and categories to tag converter links

Reported by: paolal Owned by: boonebgorges
Milestone: 4.3 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch
Focuses: administration Cc:


In the Post Tags and Categories pages, links are made available to direct the users to the Categories and Tags Converter in Tools.

While it is normal that these links go to the Tools>Import page as long as the Categories and Tags Converter is not installed, once it is, the links should go one step further and bring the user directly inside the Categories and Tags Converter.

Attachments (2)

16369.diff (846 bytes) - added by solarissmoke 5 years ago.
If cat2tag converter is active, link directly to it
16369.2.patch (1.6 KB) - added by c3mdigital 2 years ago.
refresh and refactor of original patch

Download all attachments as: .zip

Change History (11)

#1 @solarissmoke
5 years ago

  • Keywords dev-feedback added; Categories and Tags Converter removed

This was done deliberately at some point - see comment 5 on #13566. Checking for the plugin being installed and active would probably mean calling get_plugins() which might be a bit hefty. Doable, just a question of whether it's worth it?

#2 @westi
5 years ago

  • Component changed from General to Administration
  • Keywords dev-feedback removed

I think it is worth trying to detect if the plugin is installed and linking straight to the page.

We can use is_plugin_active and/or is_plugin_active_for_network

Last edited 5 years ago by westi (previous) (diff)

5 years ago

If cat2tag converter is active, link directly to it

#3 @solarissmoke
5 years ago

  • Keywords has-patch added

Patch checks if converter plugin is active.

If it is installed but inactive then it will link to the main importer page, which does some get_plugins stuff to detect if it is installed.

#4 @c3mdigital
2 years ago

  • Keywords needs-refresh added

2 years ago

refresh and refactor of original patch

#6 @c3mdigital
2 years ago

  • Keywords needs-refresh removed

#7 @nacin
22 months ago

  • Component changed from Administration to Taxonomy
  • Focuses administration added

#8 @boonebgorges
6 months ago

  • Milestone changed from Awaiting Review to 4.3

#9 @boonebgorges
6 months ago

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

In 32792:

Tag/category conversion link on edit-tags.php should point to specific importer page when cat2tag plugin is active.

Props solarissmoke, c3mdigital.
Fixes #16369.

Note: See TracTickets for help on using tickets.