Opened 8 years ago
Last modified 6 months ago
#42404 new enhancement
Introduce singular capabilities for managing individual plugins
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Role/Capability | Keywords: | needs-unit-tests has-patch needs-test-info needs-refresh |
| Focuses: | administration | Cc: |
Description
In #38652, singular capabilities were added for activating and deactivating individual plugins.
The same should be added for other management actions for plugins:
edit_plugin(ability to adit plugin via the Plugin Editor)delete_plugin(ability to outright delete the plugin)update_plugin(ability to update a plugin)
Network activation and deactivation will be handled in #42403
Attachments (5)
Change History (8)
#1
@
8 years ago
- Keywords has-patch needs-testing added; needs-patch removed
The implementation of 'update_plugin' has been more complex than the others, it would need to be tested further.
Also it needs a second opinion about the creation of the new function wp_get_plugin_updates_disallowed_count() (naming and behavior), and the general behavior:
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
8 years ago
#3
@
6 months ago
- Keywords needs-test-info needs-refresh added; granular-capabilities needs-testing removed
I'm coming a little late for this patch testing, @antonioeatgoat, but the last patch is not applying anymore, could you do a patch refresh?
And more important than the patch itself, could you please provide with some step-by-step test instructions to check all the enhancements introduced so they can be thoroughly tested by another user?

Handled singular capability 'delete_plugin'. It still needs unit tests.