PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 12.5
Jetpack – WP Security, Backup, Speed, & Growth v12.5
16.2-beta 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 All 501 releases
← All changes | modules/monitor.php +3 -11 16.2-beta12.5 View file →
@@ -1,8 +1,8 @@
1 1 <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2 2 /**
3 - * Module Name: Downtime Monitor
4 - * Module Description: Get instant alerts if your site goes down and know when it’s back online.
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.
5 5 * Sort Order: 28
6 6 * Recommendation Order: 10
7 7 * First Introduced: 2.6
8 8 * Requires Connection: Yes
@@ -16,16 +16,10 @@
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 -
24 20 /**
25 21 * Class Jetpack_Monitor
26 - *
27 - * @phan-constructor-used-for-side-effects
28 22 */
29 23 class Jetpack_Monitor {
30 24
31 25 /**
@@ -134,10 +128,8 @@
134 128 set_transient( 'monitor_last_downtime', $xml->getResponse(), 10 * MINUTE_IN_SECONDS );
135 129
136 130 return $xml->getResponse();
137 131 }
132 +
138 133 }
139 134
140 135 new Jetpack_Monitor();
141 -
142 -// Register Jetpack Monitor abilities (WordPress Abilities API, WP 6.9+).
143 -\Automattic\Jetpack\Plugin\Abilities\Monitor_Abilities::init();