Make WordPress Core

Opened 14 years ago

Closed 9 years ago

#16369 closed enhancement (fixed)

Tag to category and categories to tag converter links

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

Description

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 14 years ago.
If cat2tag converter is active, link directly to it
16369.2.patch (1.6 KB) - added by c3mdigital 11 years ago.
refresh and refactor of original patch

Download all attachments as: .zip

Change History (11)

#1 @solarissmoke
14 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
14 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 14 years ago by westi (previous) (diff)

@solarissmoke
14 years ago

If cat2tag converter is active, link directly to it

#3 @solarissmoke
14 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
11 years ago

  • Keywords needs-refresh added

@c3mdigital
11 years ago

refresh and refactor of original patch

#6 @c3mdigital
11 years ago

  • Keywords needs-refresh removed

#7 @nacin
11 years ago

  • Component changed from Administration to Taxonomy
  • Focuses administration added

#8 @boonebgorges
9 years ago

  • Milestone changed from Awaiting Review to 4.3

#9 @boonebgorges
9 years 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.