[wp-trac] [WordPress Trac] #64288: Deactivate link is active for plugins required by others when searching
WordPress Trac
noreply at wordpress.org
Tue Nov 25 10:51:28 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: 7.0
Component: Plugins | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by hbhalodia):
Hi Team, I do have found the root cause for the issue. The thing is
`WP_Plugin_Dependencies::initialize();` is not being initialized in `Ajax
instance`, hence the `required dependencies` are being identified as
empty. In order to fix this, we just need to update the search plugins
ajax call, `wp_ajax_search_plugins` to initialize the
`WP_Plugin_Dependencies::initialize();` class and then it would work as
expected. Below is the demo video, how the fix is working as expected.
https://github.com/user-attachments/assets/281a3779-343b-4ee2-bb6e-
125f14ed8057
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64288#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list