From 16b2cfa8c24a48c909c25dadf79542865d2c967e Mon Sep 17 00:00:00 2001 From: Giuseppe Mazzapica Date: Sat, 13 Aug 2016 14:03:35 +0200 Subject: [PATCH] Fix wrong args for __() in WordPressErrorLogger --- src/Error/WordPressErrorLogger.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Error/WordPressErrorLogger.php b/src/Error/WordPressErrorLogger.php index 8ea4b00..84b7731 100644 --- a/src/Error/WordPressErrorLogger.php +++ b/src/Error/WordPressErrorLogger.php @@ -209,8 +209,9 @@ public function __construct( array $messages = [ ] ) { self::NOT_NEGATE_VALIDATOR => sprintf( __( '%s returned true, but was expected to return false.', - '%validator_name%::is_valid()' - ) + 'inpsyde-validator' + ), + '%validator_name%::is_valid()' ), self::NOT_MATCH => sprintf( __(