update text
thanks @mattwiebe
This commit is contained in:
parent
9e121b7cee
commit
46b1b4797a
1 changed files with 8 additions and 1 deletions
|
@ -111,7 +111,14 @@ class Health_Check {
|
||||||
$result['badge']['color'] = 'orange';
|
$result['badge']['color'] = 'orange';
|
||||||
$result['description'] = \sprintf(
|
$result['description'] = \sprintf(
|
||||||
'<p>%s</p>',
|
'<p>%s</p>',
|
||||||
\__( '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' )
|
\__( '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' )
|
||||||
|
);
|
||||||
|
$result['actions'] .= sprintf(
|
||||||
|
'<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>',
|
||||||
|
__( 'https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/', 'activitypub' ),
|
||||||
|
__( 'Learn how to hook the WP-Cron into the System Task Scheduler.', 'activitypub' ),
|
||||||
|
/* translators: Hidden accessibility text. */
|
||||||
|
__( '(opens in a new tab)', 'activitypub' )
|
||||||
);
|
);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Reference in a new issue