diff --git a/includes/classes/HealthCheck.php b/includes/classes/HealthCheck.php index dcbc1d4..d71c31b 100644 --- a/includes/classes/HealthCheck.php +++ b/includes/classes/HealthCheck.php @@ -34,8 +34,9 @@ public function add_endpoint(): void { 'orbit', '/up', [ - 'methods' => 'GET', - 'callback' => [ $this, 'run_health_check' ], + 'methods' => 'GET', + 'callback' => [ $this, 'run_health_check' ], + 'permission_callback' => '__return_true', ] ); } diff --git a/orbit.php b/orbit.php index 0abe32f..967cbe0 100644 --- a/orbit.php +++ b/orbit.php @@ -7,7 +7,7 @@ * Author URI: https://eighteen73.co.uk * Text Domain: orbit * Domain Path: /languages - * Version: 1.0.0 + * Version: 1.4.1 * Update URI: https://github.com/eighteen73/orbit * * @package Orbit