PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.0
Jetpack – WP Security, Backup, Speed, & Growth v16.0
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
← All changes | modules/monitor.php +11 -2 14.4.216.0 View file →
@@ -1,8 +1,8 @@
1 1 <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2 2 /**
3 - * Module Name: Monitor
4 - * Module Description: Jetpack’s downtime monitoring will continuously watch your site and alert you the moment that downtime is detected.
3 + * Module Name: Downtime Monitor
4 + * Module Description: Get instant alerts if your site goes down and know when it’s back online.
5 5 * Sort Order: 28
6 6 * Recommendation Order: 10
7 7 * First Introduced: 2.6
8 8 * Requires Connection: Yes
@@ -16,10 +16,16 @@
16 16 */
17 17
18 18 use Automattic\Jetpack\Connection\Manager as Connection_Manager;
19 19
20 +if ( ! defined( 'ABSPATH' ) ) {
21 + exit( 0 );
22 +}
23 +
20 24 /**
21 25 * Class Jetpack_Monitor
26 + *
27 + * @phan-constructor-used-for-side-effects
22 28 */
23 29 class Jetpack_Monitor {
24 30
25 31 /**
@@ -131,4 +137,7 @@
131 137 }
132 138 }
133 139
134 140 new Jetpack_Monitor();
141 +
142 +// Register Jetpack Monitor abilities (WordPress Abilities API, WP 6.9+).
143 +\Automattic\Jetpack\Plugin\Abilities\Monitor_Abilities::init();