PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.2
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.2
6.2.3 6.2.2 6.2.1 6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 All 156 releases
← All changes | cron/sitehealthmonitoring.php +6 -1 5.1 → 6.2.2 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2 /**
3 3 * MainWP Check Childs Cron.
4 4 *
5 - * Include cron/bootstrap.php & run mainwp_croncheckstatus_action.
5 + * Include cron/bootstrap.php & run mainwp_cronchecksitehealth_action.
6 6 *
7 7 * @package MainWP/Dashboard
8 8 */
9 9
@@ -8,8 +8,13 @@
8 8 */
9 9
10 10 // include cron/bootstrap.php.
11 11 require_once 'bootstrap.php'; // NOSONAR - WP compatible.
12 +
13 +// Exit if accessed directly.
14 +if ( ! defined( 'ABSPATH' ) ) {
15 + exit;
16 +}
12 17
13 18 if ( isset( $mainWP ) ) {
14 19 // fire off mainWP->mainwp_cronchecksitehealth_action.
15 20 $mainWP->mainwp_cronchecksitehealth_action();