diff --git a/core/server/helpers/index.js b/core/server/helpers/index.js index f168c26af0..2431ce39fa 100644 --- a/core/server/helpers/index.js +++ b/core/server/helpers/index.js @@ -29,6 +29,7 @@ coreHelpers.has = require('./has'); coreHelpers.meta_description = require('./meta_description'); coreHelpers.meta_title = require('./meta_title'); coreHelpers.navigation = require('./navigation'); +coreHelpers.page_url = require('./page_url'); coreHelpers.pagination = require('./pagination'); coreHelpers.plural = require('./plural'); coreHelpers.post_class = require('./post_class'); @@ -39,10 +40,6 @@ coreHelpers.title = require('./title'); coreHelpers.twitter_url = require('./twitter_url'); coreHelpers.url = require('./url'); -// Specialist helpers for certain templates -coreHelpers.page_url = require('./page_url'); -coreHelpers.pageUrl = require('./page_url').deprecated; - coreHelpers.helperMissing = function (arg) { if (arguments.length === 2) { return undefined; @@ -101,7 +98,6 @@ registerHelpers = function () { registerThemeHelper('meta_title', coreHelpers.meta_title); registerThemeHelper('navigation', coreHelpers.navigation); registerThemeHelper('page_url', coreHelpers.page_url); - registerThemeHelper('pageUrl', coreHelpers.pageUrl); registerThemeHelper('pagination', coreHelpers.pagination); registerThemeHelper('plural', coreHelpers.plural); registerThemeHelper('post_class', coreHelpers.post_class);