Warning
If you're on 3.1.2, update. Item pages are broken there, and this release is the fix.
Nothing else changed, and no data was affected.
🐛 What happened
A comment in the item page template contained a literal closing script tag. A browser ends a script block at the first one it reads, whether or not it means anything to the JavaScript around it, so the block was cut in half. Everything after it was printed on the page as raw code, and every button on an item page stopped working: delete, refresh, price estimate, move to wishlist, the lot.
The comment was there to warn about exactly that. It now describes the tag instead of
spelling it out, and says why.
Thanks to @jws5406 for reporting it within the hour, screenshot and all.
🙃 Second time in three releases
3.1.1 fixed the same family of bug from the other end: a line break inside a translated
string ending the script block it landed in. Same failure, different cause. That one came
from data, this one from a comment I wrote myself.
Sorry for the bad afternoon if you updated early.
Love u all <3