Skip to content

Commit 46b1b47

Browse files
committed
update text
thanks @mattwiebe
1 parent 9e121b7 commit 46b1b47

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

includes/class-health-check.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,14 @@ public static function test_system_cron() {
111111
$result['badge']['color'] = 'orange';
112112
$result['description'] = \sprintf(
113113
'<p>%s</p>',
114-
\__( 'It is highly recommended to use your Systems Task Scheduler instead of the default <code>WP_Cron</code> setup. For further informations, check the "<a href="https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/" target="_blank">Hooking WP-Cron Into the System Task Scheduler</a>" guide from the Plugin Handbook.', 'activitypub' )
114+
\__( 'Enhance your WordPress site’s performance and mitigate potential heavy loads caused by plugins like ActivityPub by setting up a system cron job to run WP Cron. This ensures scheduled tasks are executed consistently and reduces the reliance on website traffic for trigger events.', 'activitypub' )
115+
);
116+
$result['actions'] .= sprintf(
117+
'<p><a href="%s" target="_blank" rel="noopener">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
118+
__( 'https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/', 'activitypub' ),
119+
__( 'Learn how to hook the WP-Cron into the System Task Scheduler.', 'activitypub' ),
120+
/* translators: Hidden accessibility text. */
121+
__( '(opens in a new tab)', 'activitypub' )
115122
);
116123

117124
return $result;

0 commit comments

Comments
 (0)