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

Taxonomy shows up in the list unexpectedly #4114

Closed
2 tasks
moorscode opened this issue Dec 20, 2017 · 1 comment
Closed
2 tasks

Taxonomy shows up in the list unexpectedly #4114

moorscode opened this issue Dec 20, 2017 · 1 comment

Comments

@moorscode
Copy link
Contributor

Issue Overview

When a taxonomy is registered to show up in the REST API, it will be shown at a post.
Even if show_ui is set to false or public is set to false.

Reference:
https://github.com/Yoast/wordpress-seo-premium/blob/035349d2a3f1be95e401b2201a4d5f1545fddef9/premium/classes/premium-prominent-words-registration.php#L75

Steps to Reproduce (for bugs)

  1. Create a taxonomy with show_in_rest set to true
  2. Configure show_ui to be set to false
  3. Configure public to be set to false

Screenshots / Video

tewtwet___ _local_wordpress_ _wordpress

Todos

  • Tests
  • Documentation
@youknowriad
Copy link
Contributor

I think this is duplicate of #2450 but we should mention the "show_ui" flag as well.

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

2 participants