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

No patterns visible in "Wireframe" category #526

Closed
ryelle opened this issue Sep 30, 2022 · 2 comments
Closed

No patterns visible in "Wireframe" category #526

ryelle opened this issue Sep 30, 2022 · 2 comments
Labels
[Type] Bug Something isn't working

Comments

@ryelle
Copy link
Contributor

ryelle commented Sep 30, 2022

https://wordpress.org/patterns/categories/wireframe/

This page returns "0 Wireframe patterns. No results found" but there are published patterns in the wireframe category. For example, this pattern: https://wordpress.org/patterns/pattern/team-3/

I'm not sure if the pattern is in the theme (it's not displaying the right category) or the backend directory code (something blocking new categories).

@ryelle ryelle added the [Type] Bug Something isn't working label Sep 30, 2022
@ryelle
Copy link
Contributor Author

ryelle commented Sep 30, 2022

The API request loaded by this page is https://wordpress.org/patterns/wp-json/wp/v2/wporg-pattern?pattern-categories=39&locale=en_US&_locale=user, which returns [].

Removing the locale returns patterns: https://wordpress.org/patterns/wp-json/wp/v2/wporg-pattern?pattern-categories=39

But the patterns do appear to have the locale set correctly.

@ryelle
Copy link
Contributor Author

ryelle commented Oct 5, 2022

Looking at the post meta directly, they did not actually have the locale (wpop_locale) set. I've set it manually, and am checking whether this was a bug in the creator or not. Closing this issue, will open a new one for the meta value if needed.

@ryelle ryelle closed this as completed Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant