WordPress / WordPress/pattern-directory
Curation filter on author patterns page returns a 404
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
Describe the bug
By applying Curation filter on author patterns page return a 404 HTTP status code.
To Reproduce
- Go to a author patterns page (e.g: https://wordpress.org/patterns/author/colorful-tones/, https://wordpress.org/patterns/author/deepakrohilla/).
- Select Curated filter and press Apply.
- A 404 page is returned.
Expected behavior
A result page with HTTP 200 and message like "No results found" IMHO could be more appropriate.
PS: If it doesn't make sense to apply this filter to community authors, then it might be disabled/hidden at all on that case.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Curated filter on the listed author pattern pages and inspect how the filter request is routed. Done means the author-page filter no longer returns 404: it should show a 200 no-results page or the filter should be hidden for community authors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100