Changeset 945782 for jetpack/trunk/modules/monitor.php
- Timestamp:
- 07/09/2014 07:57:26 PM (12 years ago)
- File:
-
- 1 edited
-
jetpack/trunk/modules/monitor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/modules/monitor.php
r914281 r945782 9 9 */ 10 10 11 function jetpack_monitor_toggle() { 12 $jetpack = Jetpack::init(); 13 14 $jetpack->sync->register( 'noop' ); 15 16 if ( false !== strpos( current_filter(), 'jetpack_activate_module_' ) ) { 17 Jetpack::check_privacy( __FILE__ ); 18 } 19 } 20 21 add_action( 'jetpack_activate_module_monitor', 'jetpack_monitor_toggle' ); 22 add_action( 'jetpack_deactivate_module_monitor', 'jetpack_monitor_toggle' ); 11 add_action( 'jetpack_activate_module_monitor', array( Jetpack::init(), 'toggle_module_on_wpcom' ) ); 12 add_action( 'jetpack_deactivate_module_monitor', array( Jetpack::init(), 'toggle_module_on_wpcom' ) ); 23 13 24 14 class Jetpack_Monitor { … … 60 50 public function jetpack_configuration_screen() { 61 51 ?> 62 <p><?php esc_html_e( 'Nobody likes downtime, and that\'s why Jetpack Monitor is on the job, keeping tabs on your site . As soon as any downtime is detected, you will receive an email notification alerting you to the issue. That way you can act quickly, to get your site back online again!', 'jetpack' ); ?>52 <p><?php esc_html_e( 'Nobody likes downtime, and that\'s why Jetpack Monitor is on the job, keeping tabs on your site by checking it every five minutes. As soon as any downtime is detected, you will receive an email notification alerting you to the issue. That way you can act quickly, to get your site back online again!', 'jetpack' ); ?> 63 53 <p><?php esc_html_e( 'We’ll also let you know as soon as your site is up and running, so you can keep an eye on total downtime.', 'jetpack'); ?></p> 64 54 <div class="narrow">
Note: See TracChangeset
for help on using the changeset viewer.