Fixed Code events for page_criteria and user_criteria broken

Lukas W.

Well-known member
Affected version
2.3 Beta 1
XF\Criteria\AbstractCriteria was changed to call _isUnknownMatched instead of isUnknownMatched whenever a criteria rule is not found. Neither XF\Criteria\Page nor XF\Criteria\User have been changed to reflect this however, and continue to overwrite the original isUnknownMatched, which is no longer called, thus code events for criteria_user and criteria_page are no longer fired.

The same seems to be true for _isSpecialMatched, but I have not explicitly tested that.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Beta 2).

Change log:
Revert unnecessary changes to abstract criteria handler
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom