From 530fd022d7e8f2c5506ff140801d5a58928f974b Mon Sep 17 00:00:00 2001 From: Pollora maintainer Date: Wed, 25 Nov 2026 11:41:24 +0100 Subject: [PATCH] chore: release v2.1.0 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44c47e1..b89ee9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to `pollora/hook` are documented in this file. ## [Unreleased] +## [2.1.0] - 2026-11-25 + ### Fixed - A closure registered after another closure was freed no longer inherits that closure's argument count. The count was cached under the closure's object ID, which PHP hands to the next closure once the first is freed, so WordPress could be told to pass a callback too few arguments (an `ArgumentCountError`) or too many. The count is now held by the closure itself and goes with it.