[wp-trac] [WordPress Trac] #64288: Deactivate link is active for plugins required by others when searching
WordPress Trac
noreply at wordpress.org
Fri Nov 21 17:34:21 UTC 2025
#64288: Deactivate link is active for plugins required by others when searching
--------------------------+-----------------------------
Reporter: webdados | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Tested version: 6.9-RC2-61266
The "Deactivate" link on the plugins list is inactive if there's another
active plugin that requires that one.
For example, my "Shop as Client Pro" is a paid plugin that requires the
free wordpress.org "Shop as Client" plugin, so when both are active, the
"Deactivate" link on "Shop as Client" is inactive. This is because I've
declared "shop-as-client" on the main PHP file "Requires Plugins" header.
https://snipboard.io/cBZGDe.jpg
I just found out that when you perform a search on the plugins page, this
is not the case: https://snipboard.io/qOUQlk.jpg
As you can see on the screenshot above, it also does not show the
"Required by" and "Requires" sections below the description of each
plugin.
This only happens when the search is performed by ajax, because if you
refresh the page after the search is performed, you get the same plugin
results, but the list has the correct "Deactivate" link status and shows
the required plugins.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64288>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list