Closed drewbaker closed 1 week ago
OK so the problem is that the encoded params become Main%20Menu
and WordPress doesn't handle the decoding on those params now.
So in class-rest-menu-controller.php
I added a urldecode()
around the menu $name param.
@rsm0128 I suspect you will need to do this for all params on other endpoints too.
@drewbaker I fixed the issue in this commit https://github.com/funkhaus/fuxt-api/commit/81b7899296fe2a967737557a2d032c018b5ec246
https://see-me-api.flywheelsites.com/wp-json/fuxt/v1/menus?name=Main%20Menu