WordPress.org

Make WordPress Core

Opened 12 months ago

Last modified 4 months ago

#45056 new enhancement

Show Active plugins at the top of the plugin list in plugin-editor.php

Reported by: codente Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Plugins Keywords: has-patch ui-feedback
Focuses: ui Cc:
PR Number:

Description

This is something I've thought would be useful for quite a while.

Attachments (1)

plugins-active.patch (1.4 KB) - added by codente 12 months ago.

Download all attachments as: .zip

Change History (6)

#1 @joyously
12 months ago

Since editing active plugins is discouraged, why is putting them at the top a good thing?

#2 @mukesh27
12 months ago

  • Focuses accessibility added
  • Keywords reporter-feedback added
  • Severity changed from normal to minor
  • Version 4.9.8 deleted

Hi @codente, Welcome to WordPress Trac! Thank you for your ticket.

@joyously is right can you please share reason to show active plugin at top in plugin dropdown list, also you have an option to remove deactivate plugins from plugin directory.

#3 @codente
12 months ago

Sure - First, having them separated might actually make someone think twice about editing the file of an active plugin.

But we obviously know that people still edit the files - otherwise the protections put in place for the code editor (not saving if there is an error) wouldn't have been merged in. And we also know that people do not generally delete the plugins that are not in use. Some people do but speaking from a support perspective and seeing many sites on a daily basis, they do not.

In a situation where someone is going to edit a file and they know it's an active plugin, those plugins are at the top making it easier to find. I would imagine that developers would find it helpful when debugging an issue with a plugin and I know it's helpful from a support perspective for the same reason. It also would be a big assistance when looking into issues where plugins are white labeled and you do not know for sure what the plugin is from just looking at the plugin list.

There are other situations I can think of such as if you click the editor link instead of the actual plugins list link, you can still see what is active at a glance without leaving the page.

Last edited 12 months ago by codente (previous) (diff)

#4 @SergeyBiryukov
12 months ago

  • Focuses ui added; accessibility removed
  • Keywords ui-feedback added; reporter-feedback removed

Would it be a good idea to always display active plugins first, i.e. in the list table on Plugins screen too? (Also suggested in #44696.) Seems consistent with the Themes screen, where the active theme is displayed first.

This ticket was mentioned in Slack in #design by karmatosed. View the logs.


4 months ago

Note: See TracTickets for help on using tickets.