We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 746fbb5 commit dff9edeCopy full SHA for dff9ede
inc/Modules/Rest/Abstract_REST_Controller.php
@@ -93,7 +93,7 @@ public function check_api_permissions( $request ) {
93
94
// If it's a healthcheck with no governing site, allow it and set the governing site.
95
if ( empty( $governing_site_url ) ) {
96
- if ( '/ ' . $this->namespace . '/health-check' === $request->get_route() ) {
+ if ( '/' . $this->namespace . '/health-check' === $request->get_route() ) {
97
Settings::set_parent_site_url( $request_origin );
98
return true;
99
}
0 commit comments