Users are reporting compatibility warnings related to deprecated inline script tags in Discourse themes, specifically with the ‘discourse-tag-sidebars’ component and the default ‘Light’ theme. Curtis_Rueden seeks help to preserve tag sidebars on Image.sc Forum, and david recommends switching to the updated ‘Discourse Topic List Sidebars’ theme component as a replacement. TestingRico encounters the same warning on the ‘Light’ theme and, after guidance from Moin, identifies and removes problematic custom code in the theme’s settings, resolving the issue TestingRico. The root cause ties back to upcoming Discourse core changes requiring modernization of inline script tags, as detailed in this dev news topic. Community members are advised to audit custom code sections in their themes for deprecated script usage and migrate to supported alternatives where possible.
I investigated how to fix it, but it looks like the discourse-tag-sidebars component hasn’t been updated in a few years? Our community loves the tag sidebars and I’d like to keep them working if possible. What’s the best way forward to resolve this impending incompatibility?
We are seeing the same warning for the ‘Light’ version of the Discourse Theme. Not clear what to do to resolve as this is a default theme.
[Admin Notice] One of your themes or plugins needs updating for compatibility with upcoming Discourse core changes. (id:discourse.script-tag-hbs) Identified theme: ‘Light’.