mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
chore: add deprecation notice to topic thumb tpl value
This commit is contained in:
@@ -98,6 +98,7 @@ function modifyTopic(topic, fields) {
|
||||
|
||||
escapeTitle(topic);
|
||||
|
||||
// TODO: Remove in v1.17.0
|
||||
if (topic.hasOwnProperty('thumb')) {
|
||||
topic.thumb = validator.escape(String(topic.thumb));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user