Make WordPress Core

Opened 19 months ago

Last modified 10 months ago

#62998 new defect (bug)

Deactivate button and search filter on plugin list page

Reported by: hupe13 Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version: 6.7.2
Severity: normal Keywords: has-patch
Cc: Focuses: administration

Description

Admin backend page: /wp-admin/plugins.php
If a plugin requires an other plugin, then the "Deactivate" button on the required plugin is not active. This is okay.

But if you searching plugins (/wp-admin/plugins.php?s=searchstring&plugin_status=all) then the button is active and you can deactivate the required plugin. The button should be not active.

Change History (3)

#1 in reply to: ↑ description @hupe13
19 months ago

The deactivation process should be stopped if a prerequisite plugin is to be deactivated:

"This plugin could not be deactivated because the plugin ... requires it."

P.S. If I reload the page /wp-admin/plugins.php?s=leaflet&plugin_status=all the "Deactivate" button is okay.

Last edited 19 months ago by hupe13 (previous) (diff)

This ticket was mentioned in PR #8463 on WordPress/wordpress-develop by @snehapatil02.


19 months ago
#2

  • Keywords has-patch added

@mindctrl commented on PR #8463:


10 months ago
#3

@snehapatil2001 can you bring this patch up to date with trunk?

Note: See TracTickets for help on using tickets.