Skip to content

Fix Search query parameter causes 404 on pagename match rules#465

Open
donmhico wants to merge 1 commit intoWordPress:masterfrom
donmhico:trac/50873
Open

Fix Search query parameter causes 404 on pagename match rules#465
donmhico wants to merge 1 commit intoWordPress:masterfrom
donmhico:trac/50873

Conversation

@donmhico
Copy link
Copy Markdown

This PR fixes the issue where 404 is returned when search query parameter is present and a post slug has a match. The PR uses @daxelrod's patch. I added a unit test.

Trac ticket: https://core.trac.wordpress.org/ticket/50873


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 15, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @donmhico.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

Core Committers: Use this line as a base for the props when committing in SVN:

Props .

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

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

Successfully merging this pull request may close these issues.

1 participant