• Welcome to Simple Machines Community Forum. Please login or sign up.
December 02, 2021, 11:29:23 PM

News:

SMF 2.0.18 has been released! Please update. Read more.


For 2.0: check if theme_info.xml contains a version tag...

Started by Arantor, August 03, 2020, 10:40:46 AM

Previous topic - Next topic

Arantor

So 2.1 introduced a version tag for themes (and it's mandatory)

2.0 should in its next maintenance release include a check for this element - if undefined, do nothing, if defined do the version check.

We've had people breaking their sites trying to use 2.1 themes on 2.0... for a small backport+tweak of 2.1 code I suspect this would do a lot of favours as 2.1 moves forward.


(Antes, this one's your fault for making your fun WinXP theme experiment 2.1 only)
No good deed goes unpunished
All helpful urges should be circumvented

Advertisement: