From 307b0c4889065f3236c8a6bd7355896eca6ff6be Mon Sep 17 00:00:00 2001 From: Jakub Mikita Date: Mon, 15 Nov 2021 22:11:44 +0100 Subject: [PATCH 1/2] one more fix --- CHANGELOG.md | 5 +++++ src/Template.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44d6727..d796244 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [Next] + +### Fixed +- The `the_esc()` method is now wired correctly. + ## 1.1.5 ### Fixed diff --git a/src/Template.php b/src/Template.php index d77bbd0..e26128e 100644 --- a/src/Template.php +++ b/src/Template.php @@ -234,7 +234,7 @@ public function render() { }; $the_esc_method = [ $this, 'the_esc' ]; - $the_esc = function () use ( $the_method ) { + $the_esc = function () use ( $the_esc_method ) { return call_user_func_array( $the_esc_method, func_get_args() ); }; From c9244d7365178388c9a96c52eaba274654447d8c Mon Sep 17 00:00:00 2001 From: BracketSpaceWorker Date: Mon, 15 Nov 2021 21:12:40 +0000 Subject: [PATCH 2/2] Version bump --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d796244..b361b50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog All notable changes to this project will be documented in this file. -## [Next] +## 1.1.6 ### Fixed - The `the_esc()` method is now wired correctly.