Skip to content

Node.js based forum software built for the modern web

update tags/links for 1.5.4

Barış Soner Uşaklıf646e08a6ef3
diff --git a/src/meta/tags.js b/src/meta/tags.js
index 4224f85dee..3c8b97f3d7 100644
--- a/src/meta/tags.js
+++ b/src/meta/tags.js
@@ -50,7 +50,7 @@ Tags.parse = function (req, data, meta, link, callback) {
});
}
- plugins.fireHook('filter:meta.getMetaTags', { req: req, data: data, defaultTags: defaultTags }, next);
+ plugins.fireHook('filter:meta.getMetaTags', { req: req, data: data, tags: defaultTags }, next);
},
links: function (next) {
var defaultLinks = [{
@@ -101,7 +101,7 @@ Tags.parse = function (req, data, meta, link, callback) {
href: nconf.get('relative_path') + '/assets/uploads/system/touchicon-192.png',
});
}
- plugins.fireHook('filter:meta.getLinkTags', { req: req, data: data, defaultLinks: defaultLinks }, next);
+ plugins.fireHook('filter:meta.getLinkTags', { req: req, data: data, links: defaultLinks }, next);
},
}, function (err, results) {
if (err) {