Opened 2 years ago

Last modified 2 years ago

#16369 new enhancement

Tag to category and categories to tag converter links

Reported by: paolal Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version:
Severity: normal Keywords: has-patch
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 (1)

16369.diff (846 bytes) - added by solarissmoke 2 years ago.
If cat2tag converter is active, link directly to it

Download all attachments as: .zip

Change History (4)

  • 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?

  • 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 2 years ago by westi (previous) (diff)

If cat2tag converter is active, link directly to it

  • 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.

Note: See TracTickets for help on using tickets.