Skip to content

Commit

Permalink
Fix copy-pasta error in WordPressErrorLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Aug 13, 2016
1 parent 8a907c7 commit 3cc5b21
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 1.2.2

### Fixed

* Fix copy-pasta error in `WordPressErrorLogger`.

### Changed

* _Nothing_

### Added

* _Nothing_

## 1.2.1

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/Error/WordPressErrorLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

/**
Expand Down

0 comments on commit 3cc5b21

Please sign in to comment.