-
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
Remove "experimental" from URL details REST controller and promote to v1
namespace
#35915
Conversation
Size Change: +10 B (0%) Total Size: 1.08 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise looks good to me.
@kevin940726 Any chance you could give this the once over from a manual testing POV? |
Works for me on local testing but not on gutenberg.run. I'm not sure If it's expected? |
I tried Not seen that before. I tried building another PR branch on the same platform I saw the same error. Therefore I assume it's due to Happy to 👍 ? |
20cc5fb
to
aff754d
Compare
Let's get these e2e tests passing. Rebase should do it 🤞 I'll merge once ✅ |
@hellofromtonya Good to go now. Trac ticket next? |
@getdave Cool 🎉 Yes, Trac ticket and PR => next steps. I'll take care of both on Monday and then get URL Details and Previewer merged into Core before 5.9 feature freeze (Nov 9th). |
Description
As per #35756 (comment) this PR removes the experimental status from the URL Details endpoint and promotes it to a first class API endpoint under the
wp-block-editor/v1
namespace.This PR also updates tests and client side code to utilise the new namespace.
Also includes some fixes to whitespace which were applied automatically. I guess I can get rid of those if it's annoying.
How has this been tested?
Firstly check all the existing PHP unit tests are passing on this PR for the endpoint.
Next check the client side "rich preview" functionality is still working as expected:
wordpress.org
brings up a nice rich preview).url-details
.wp-block-editor/v1/url-details
endpoint.Screenshots
Types of changes
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
*.native.js
files for terms that need renaming or removal).