WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 15 months ago

#16369 new enhancement

Tag to category and categories to tag converter links

Reported by: paolal Owned by:
Milestone: Awaiting Review 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 4 years ago.
If cat2tag converter is active, link directly to it
16369.2.patch (1.6 KB) - added by c3mdigital 21 months ago.
refresh and refactor of original patch

Download all attachments as: .zip

Change History (9)

comment:1 @solarissmoke4 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?

comment:2 @westi4 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 4 years ago by westi (previous) (diff)

@solarissmoke4 years ago

If cat2tag converter is active, link directly to it

comment:3 @solarissmoke4 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.

comment:4 @c3mdigital21 months ago

  • Keywords needs-refresh added

@c3mdigital21 months ago

refresh and refactor of original patch

comment:6 @c3mdigital21 months ago

  • Keywords needs-refresh removed

comment:7 @nacin15 months ago

  • Component changed from Administration to Taxonomy
  • Focuses administration added
Note: See TracTickets for help on using tickets.