| @@ -13,8 +13,12 @@ | ||
| 13 | 13 | use Automattic\Jetpack\WP_Abilities\Registrar; |
| 14 | 14 | use Jetpack; |
| 15 | 15 | use Jetpack_IXR_Client; |
| 16 | 16 | |
| 17 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 18 | + exit( 0 ); | |
| 19 | +} | |
| 20 | + | |
| 17 | 21 | /** |
| 18 | 22 | * Registers Jetpack Downtime Monitor abilities with the WordPress Abilities API. |
| 19 | 23 | * |
| 20 | 24 | * Exposes a zero-arg overview read (`get-monitor-status`) and a declarative |