From f646e08a6ef363dee53172b3aeb933e9117fe543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 27 Jul 2017 19:40:05 -0400 Subject: [PATCH] update tags/links for 1.5.4 --- src/meta/tags.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {