Fix spelling

This commit is contained in:
Jon Surrell 2016-12-11 18:03:48 +01:00
parent 88836b9cca
commit 825d9c9f82
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ class WC_Log_Handler_Email extends WC_Log_Handler {
*/
public function get_body( $timestamp, $level, $message, $context ) {
$entry = $this->format_entry( $timestamp, $level, $message, $context );
return __( 'You have recieved the following WooCommerce log message:', 'woocommerce' )
return __( 'You have received the following WooCommerce log message:', 'woocommerce' )
. PHP_EOL . PHP_EOL . $entry;
}

View File

@ -31,7 +31,7 @@ class WC_Tests_Log_Handler_Email extends WC_Unit_Test_Case {
$mailer = tests_retrieve_phpmailer_instance();
$this->assertEquals(
'You have recieved the following WooCommerce log message:' . PHP_EOL . PHP_EOL . date( 'c', $time ) . ' EMERGENCY msg_emergency' . PHP_EOL,
'You have received the following WooCommerce log message:' . PHP_EOL . PHP_EOL . date( 'c', $time ) . ' EMERGENCY msg_emergency' . PHP_EOL,
$mailer->get_sent()->body
);
}