Directory

Update search.php by pkevan · Pull Request #689 · WordPress/pattern-directory · GitHub
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 search.php #689

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open

Update search.php #689

wants to merge 2 commits into from

Conversation

pkevan
Copy link
Contributor

@pkevan pkevan commented May 9, 2024

Changes to query via slug, rather than term_id, since the new taxonomy wporg-pattern-keyword is used with slug.

Fixes #688.

Changes to query via slug, rather than term_id, since the new taxonomy `wporg-pattern-keyword` is used with slug.
@pkevan pkevan added the [Component] Pattern Directory API The pattern API on WordPress.org, and/or the CPT endpoint label May 9, 2024
Add switch for term_id and slug depending on input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Pattern Directory API The pattern API on WordPress.org, and/or the CPT endpoint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search: Invalid ElasticSearch request on pentester submissions
1 participant