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

Older homepages are exposed in the REST API to logged out users #15

Open
kjbenk opened this issue Nov 24, 2021 · 0 comments
Open

Older homepages are exposed in the REST API to logged out users #15

kjbenk opened this issue Nov 24, 2021 · 0 comments

Comments

@kjbenk
Copy link
Contributor

kjbenk commented Nov 24, 2021

Issue

Only the latest homepage should be public and therefore exposed in the REST API. Currently, all published homepages are exposed in the REST API.

Steps to Reproduce

  1. Publish multiple homepages
  2. Go to the REST API endpoint /wp-json/wp/v2/homepage
  3. Notice multiple homepages appear and not just the latest homepage
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