-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block Directory: Return deactivated plugins in search results. #23570
Comments
@TimothyBJacobs What do you think the best approach would be? |
I think we can just remove the |
I've implemented that for trunk here, WordPress/wordpress-develop@7946dc6 When the block is already installed, you get a response like this.
|
It would probably make sense to add an
|
Describe the bug
Inactive block directory blocks should return as installable in the search results. The block should be activated if the user decides to click
Add Block
again.This functionality was removed in the transition to using the
WP_REST_Plugins_Controller
in #22454.This feature was initially introduce in #22286.
To reproduce
Steps to reproduce the behavior:
wp-admin/plugins.php
Expected behavior
See description.
Editor version (please complete the following information):
The text was updated successfully, but these errors were encountered: