register_rest_route was called incorrectly
JayWood opened this issue · 0 comments
JayWood commented
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 )