Loveshack 1.3.12
New in Loveshack v1.3.12
- Every emoji as a reaction. The add-reaction button used to offer ten emoji and an unstyled text field. The field is gone: you react by clicking an emoji. Below the ten quick picks the picker now lists every emoji, the 1,906 base emoji of Unicode 16.0 in nine groups from Smileys and Emotion to Flags, in a scrollable grid with group headings. The list is a small file that loads the first time a picker opens on a page and is shared by every picker on it. The quick picks remain configurable through the loveshack_reaction_choices filter.
- A picker that stays on screen. The larger picker gets a header with a close button in its top right corner, and it places itself according to the room it has: it opens downward when there is no space above, shifts left when it would leave the viewport on the right, no further than the card’s own edge, and on screens narrower than 600px opens as a centred sheet with side margins. While it is open it sits above the floating subscription panel, the vignette, and the panels below a post, which used to cover it.
- Reactions survive caching. Reactions are stored with the post rather than in it, so a page cache had no reason to refresh the home stream after someone reacted, and the new reaction only appeared on the post page. Loveshack now clears WordPress’s own post cache and asks WP Super Cache, W3 Total Cache, WP Rocket, and LiteSpeed Cache to drop the post and the home page after every reaction. Other caches can listen to the new loveshack_post_reactions_updated action, which passes the post ID and the two URLs.