Closed tangrufus closed 7 years ago
Done. Hooking at priority 20, to give some flexibility before and after (but mostly make sure we hook AFTER most other things will at default priority) : https://github.com/dmchale/disable-json-api/commit/6147458ace09fe9143500ebd653ad8b376bd65a6
Simplifying
Disable_REST_API
by combinewhitelist_routes
andonly_allow_logged_in_rest_access
.Hooking
rest_authentication_errors
twice makes it more complicated than necessary.