Skip to content

Commit

Permalink
Update What's new in Wagtail version menu item to 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Jul 18, 2023
1 parent 32d9080 commit 15f652c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wagtail/admin/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ def register_reports_menu():

@hooks.register("register_help_menu_item")
def register_whats_new_in_wagtail_version_menu_item():
version = "5.0"
version = "5.1"
return DismissibleMenuItem(
_("What's new in Wagtail %(version)s") % {"version": version},
wagtail_feature_release_whats_new_link(),
Expand Down
2 changes: 1 addition & 1 deletion wagtail/templatetags/wagtailcore_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def wagtail_release_notes_path():

@register.simple_tag
def wagtail_feature_release_whats_new_link():
return "https://guide.wagtail.org/en-latest/releases/latest/"
return "https://guide.wagtail.org/en-latest/releases/new-in-wagtail-5-1/"


@register.simple_tag
Expand Down

0 comments on commit 15f652c

Please sign in to comment.