chore: add deprecation notice to topic thumb tpl value

v1.18.x
Julian Lam 4 years ago
parent 2610dfcf56
commit 05d8b3c339

@ -98,6 +98,7 @@ function modifyTopic(topic, fields) {
escapeTitle(topic); escapeTitle(topic);
// TODO: Remove in v1.17.0
if (topic.hasOwnProperty('thumb')) { if (topic.hasOwnProperty('thumb')) {
topic.thumb = validator.escape(String(topic.thumb)); topic.thumb = validator.escape(String(topic.thumb));
} }

Loading…
Cancel
Save