Opened 9 years ago
Closed 8 years ago
#38169 closed enhancement (fixed)
Remove the "edit" link from each plugin row on the Plugins screen
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Administration | Keywords: | has-patch needs-docs |
| Focuses: | administration, multisite | Cc: |
Description
Some very unscientific user testing last week led me to notice an inexperienced user who clicked the Edit link next to a plugin when they were looking for its settings panel. They subsequently spent around a minute on this screen before deciding that they weren't in the right place.
Should the Edit link in each plugin row be removed? It will reduce clutter on the Plugins screen, and the plugin and theme editors are still available from their respective Editor menus.
One disadvantage is the lack of visibility of the plugin editor which is a potential springboard for getting users into development (one of the arguments against removing the editors completely).
Note that the Themes screen no longer shows an Edit link anywhere since 3.8.
Attachments (1)
Change History (13)
#2
@
9 years ago
+1
@johnbillion or you could also consider to remove it from your site with that filter 😆
#5
@
9 years ago
I don't personally see the edit functionality as being useful to the majority of WordPress users, so also agree that it's removal (and from Themes if it's there, but i'm fairly sure it's not) would be a better UX for the majority of users.
#6
@
8 years ago
- Keywords needs-patch added; ux-feedback removed
- Milestone changed from Awaiting Review to 4.9
Let's do this.
#7
@
8 years ago
- Focuses multisite added
- Keywords has-patch added; needs-patch removed
- Owner set to johnbillion
- Status changed from new to accepted
38169.patch removes the Edit link from everywhere that they're present for plugins and themes:
- The
Pluginsscreen - The
Pluginsscreen in Network Admin - The
Themesscreen in Network Admin - The
Themestab when editing a site in Network Admin
#11
@
8 years ago
- Keywords needs-docs added
- Resolution fixed deleted
- Status changed from closed to reopened
Can we get changelog entries on the DocBlocks for the theme_action_links and network_admin_plugin_action_links filters? I think anybody expecting the 'edit' values to be there are going to come looking and it would be good to document the change.
Hi @johnbillion
For your site specific
You can add following codes inside Child Theme's function.php
add_filter('plugin_action_links', 'disable_plugin_edit', 10, 4); function disable_plugin_edit($actions, $plugin_file, $plugin_data, $context) { // Remove edit link for all if (array_key_exists('edit', $actions)) { unset($actions['edit']); } return $actions; }