Skip to content

A platform for community discussion. Free, open, simple.

DEV: Correct typo in `script-tag-discourse-plugin` deprecation (#32990)

David Taylorbe3b5578822c
diff --git a/app/models/theme_field.rb b/app/models/theme_field.rb
index 93cc44d6e4b..a63b6835a7c 100644
--- a/app/models/theme_field.rb
+++ b/app/models/theme_field.rb
@@ -197,7 +197,7 @@ class ThemeField < ActiveRecord::Base
initialize() {
deprecated(
- "Adding JS code using <script type='text/x-handlebars'> is deprecated. Move this code to a dedicated JavaScript file.",
+ "Adding JS code using <script type='text/discourse-plugin'> is deprecated. Move this code to a dedicated JavaScript file.",
{
id: "discourse.script-tag-discourse-plugin",
url: "https://meta.discourse.org/t/366482",