Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

register_rest_route was called incorrectly #101

Closed
JayWood opened this issue Mar 27, 2022 · 0 comments
Closed

register_rest_route was called incorrectly #101

JayWood opened this issue Mar 27, 2022 · 0 comments
Assignees
Labels
Bug Confirmed Bugs
Projects

Comments

@JayWood
Copy link
Member

JayWood commented Mar 27, 2022

Called out by a user on slack ( @MervinHernandez ) - this is due to the permission callback here https://github.com/WooMinecraft/woominecraft-wp/blob/main/includes/rest-api.php#L29 simply not existing. The file hasn't been touched since 2019, so it needs reviewed and new rest standards should be put in place.

( Admittedly Schema may be a bigger ask, so probably just a short term fix for now until the rewrite is complete )

@JayWood JayWood added the Bug Confirmed Bugs label Mar 27, 2022
@JayWood JayWood self-assigned this Mar 27, 2022
@JayWood JayWood added this to To do in 2.0 Release via automation Mar 27, 2022
@JayWood JayWood moved this from To do to In progress in 2.0 Release Mar 27, 2022
@JayWood JayWood closed this as completed in c329b30 Apr 2, 2022
2.0 Release automation moved this from In progress to Done Apr 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Confirmed Bugs
Projects
Development

No branches or pull requests

1 participant