From 3cc5b2170b7b0c5a14ca92f8c324bf9f9f56e126 Mon Sep 17 00:00:00 2001 From: Giuseppe Mazzapica Date: Sat, 13 Aug 2016 14:23:13 +0200 Subject: [PATCH] Fix copy-pasta error in `WordPressErrorLogger` --- CHANGELOG.md | 14 ++++++++++++++ src/Error/WordPressErrorLogger.php | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36cd290..af5a947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 1.2.2 + +### Fixed + +* Fix copy-pasta error in `WordPressErrorLogger`. + +### Changed + +* _Nothing_ + +### Added + +* _Nothing_ + ## 1.2.1 ### Fixed diff --git a/src/Error/WordPressErrorLogger.php b/src/Error/WordPressErrorLogger.php index 84b7731..f239d0d 100644 --- a/src/Error/WordPressErrorLogger.php +++ b/src/Error/WordPressErrorLogger.php @@ -278,7 +278,7 @@ public function log_error_for_key( $key, $code, array $data = [ ], $error_templa */ public function get_error_messages( $error_code = NULL ) { - return $this->logger->log_error( $error_code ); + return $this->logger->get_error_messages( $error_code ); } /**