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

fix: convert all routes on CatchAllController to take any http method #166

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

chuckadams
Copy link
Contributor

Pull Request

What changed?

All the $router->get routes that pass through to CatchAllController now use $router->any instead

Why did it change?

Some of these endpoints do take a POST, we don't want to break WP for those.

Did you fix any specific issues?

none. h/t to @costdev for the report

CERTIFICATION

By opening this pull request, I do agree to abide by the Code of Conduct and be bound by the terms of the Contribution Guidelines in effect on the date and time of my contribution as proven by the revision information in GitHub.

@chuckadams chuckadams merged commit 59d8e99 into main Feb 21, 2025
1 check passed
@chuckadams chuckadams deleted the chuck/fix/passthrough-any branch February 21, 2025 03:28
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