auto-patch 638-dev-dev01-2024-05-14T20_44_36

This commit is contained in:
root
2024-05-14 20:44:36 +00:00
parent a941559057
commit 5dbb0b284e
1812 changed files with 29671 additions and 14588 deletions

View File

@@ -869,9 +869,10 @@ function admin_help_tab() {
$content .= '<li>';
$content .= wp_kses(
sprintf(
/* translators: %s: URL to the documentation */
__( '<a href="%s">Read the WP Crontrol website</a> which contains information about events that have missed their schedule, problems with spawning a call to the WP-Cron system, and much more.', 'wp-crontrol' ),
'https://wp-crontrol.com'
/* translators: 1: URL to the documentation, 2: WP Crontrol */
__( '<a href="%1$s">Read the %2$s website</a> which contains information about events that have missed their schedule, problems with spawning a call to the WP-Cron system, and much more.', 'wp-crontrol' ),
'https://wp-crontrol.com',
'WP Crontrol'
),
array(
'a' => array(

View File

@@ -536,9 +536,9 @@ class Table extends \WP_List_Table {
*/
protected function column_crontrol_hook( $event ) {
if ( 'crontrol_cron_job' === $event->hook ) {
if ( ! empty( $event->args['name'] ) ) {
if ( ! empty( $event->args[0]['name'] ) ) {
/* translators: %s: The name of the PHP cron event. */
$output = esc_html( sprintf( __( 'PHP Cron (%s)', 'wp-crontrol' ), $event->args['name'] ) );
$output = esc_html( sprintf( __( 'PHP Cron (%s)', 'wp-crontrol' ), $event->args[0]['name'] ) );
} else {
$output = esc_html__( 'PHP Cron', 'wp-crontrol' );
}