-
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
Evaluate WP commands with shell-like API in e2e tests #33720
Conversation
Size Change: 0 B Total Size: 1.07 MB ℹ️ View Unchanged
|
080271d
to
f947052
Compare
b9ba433
to
f70591b
Compare
I think we can use REST API to activate/deactivate plugins - https://make.wordpress.org/core/2020/07/16/new-and-modified-rest-api-endpoints-in-wordpress-5-5/ |
Do we have more places where eval could be useful? This PR addresses plugins activation/deactivation which could be a regular api endpoint (or two) so |
I agree with @adamziel. It would be nice to avoid Checked themes API, and it doesn't handle activation/deactivation, but we can extend it on our end. |
Oh somehow I missed it! Good to know that we actually support it. Yeah I agree |
dea992c
to
0734309
Compare
0734309
to
07d770e
Compare
Closing in favor of #33414. |
Description
Based on #33414.
WIP
How has this been tested?
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).