diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index b1e06a17003..fcfa3c5667c 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -263,7 +263,7 @@ $pages = $system_status->get_pages(); if ( $environment['remote_post_successful'] ) { echo ''; } else { - echo ' ' . __( 'wp_remote_post() failed. Contact your hosting provider.', 'woocommerce' ) . ' ' . esc_html( $environment['remote_post_response'] ) . ''; + echo ' ' . sprintf( __( '%s failed. Contact your hosting provider.', 'woocommerce' ), 'wp_remote_post()' ) . ' ' . esc_html( $environment['remote_post_response'] ) . ''; } ?> @@ -274,7 +274,7 @@ $pages = $system_status->get_pages(); if ( $environment['remote_get_successful'] ) { echo ''; } else { - echo ' ' . __( 'wp_remote_get() failed. Contact your hosting provider.', 'woocommerce' ) . ' ' . esc_html( $environment['remote_get_response'] ) . ''; + echo ' ' . sprintf( __( '%s failed. Contact your hosting provider.', 'woocommerce' ), 'wp_remote_get()' ) . ' ' . esc_html( $environment['remote_get_response'] ) . ''; } ?>