From 1e60cbf16fe709e3993e3e166787c004e867e8b9 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 9 Feb 2017 19:21:27 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20=F0=9F=92=A9=20Properly=20remove?= =?UTF-8?q?=20pageUrl=20(#7969)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - remove references to the old pageUrl helper, which was deprecated in favour of page_url - this should have been done in https://github.com/TryGhost/Ghost/commit/a98efe1b68e5ba04a0b4a7af67537d288c74a21f --- core/server/helpers/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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);