Skip to content
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

Update Site list in the editor to use the wpcloud-station/v1/sites endpoint #183

Open
jhnstn opened this issue Aug 20, 2024 · 0 comments
Open

Comments

@jhnstn
Copy link
Member

jhnstn commented Aug 20, 2024

Currently, the site-list block uses the custom post type endpoint wp/v2/wpcloud_site . Ideally it would use the new endpoint wpcloud-station/v1/sites so we can remove the wp/v2/wpcloud_site routes from the Sites controller.

The site list block is mostly copy/paste from the core post query block. Most of the logic in there should be simplified to make it easier to dispatch the new REST endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant