Make WordPress Core

Opened 2 months ago

Last modified 8 weeks ago

#62998 new defect (bug)

Deactivate button and search filter on plugin list page

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

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 (2)

#1 in reply to: ↑ description @hupe13
2 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 2 months ago by hupe13 (previous) (diff)

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


8 weeks ago
#2

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.