digitalpoint
Well-known member
- Affected version
- 2.2.11
In
Maybe it was added with the intention of having text instead of images for reaction buttons, and that never materialized or something (although if that was the case, you'd probably not want to unset it in the cache)? It looks unnecessary to me at this point.
XF\Repository\Reaction->getReactionCacheData()
, reaction_text
is being unset for some reason, but it never existed (in any version of XenForo as far as I could find).
PHP:
unset($cache[$reactionId]['sprite_mode'], $cache[$reactionId]['reaction_text']);
Maybe it was added with the intention of having text instead of images for reaction buttons, and that never materialized or something (although if that was the case, you'd probably not want to unset it in the cache)? It looks unnecessary to me at this point.