From bf0166945cf4d2939877ddb3eaa92f847727d4cc Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 14 Oct 2015 17:11:59 +0100 Subject: [PATCH] reword comment - the URL *may* have changed --- wagtail/wagtailadmin/views/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wagtail/wagtailadmin/views/pages.py b/wagtail/wagtailadmin/views/pages.py index 07e2cf0a8..7d621b47f 100644 --- a/wagtail/wagtailadmin/views/pages.py +++ b/wagtail/wagtailadmin/views/pages.py @@ -236,8 +236,8 @@ def edit(request, page_id): # Publish if is_publishing: revision.publish() - # Need to reload the page because the url has changed and we - # need access to it for the "View Live" button. + # Need to reload the page because the URL may have changed, and we + # need the up-to-date URL for the "View Live" button. page = Page.objects.get(pk=page.pk) # Notifications