From 2b70088a24ee4d6c47b3d423e0f693ba25f6c605 Mon Sep 17 00:00:00 2001
From: Fredrik Jonsson <frjo@xdeb.org>
Date: Wed, 26 Jun 2024 17:40:23 +0200
Subject: [PATCH] Update Wagtail to v5.2.5 (#3995)

Also fixes one instance of "The `classnames` kwarg for MenuItem is
deprecated - use `classname` instead.".
---
 hypha/apply/dashboard/wagtail_hooks.py | 2 +-
 requirements.txt                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hypha/apply/dashboard/wagtail_hooks.py b/hypha/apply/dashboard/wagtail_hooks.py
index 53a2a9627..ecfbe1a08 100644
--- a/hypha/apply/dashboard/wagtail_hooks.py
+++ b/hypha/apply/dashboard/wagtail_hooks.py
@@ -13,6 +13,6 @@ def register_dashboard_menu_item():
     return MenuItem(
         "Apply Dashboard",
         urljoin(apply_home.url, reverse("dashboard:dashboard", "hypha.urls")),
-        classnames="icon icon-arrow-left",
+        classname="icon icon-arrow-left",
         order=100000,
     )
diff --git a/requirements.txt b/requirements.txt
index f13387962..8fb9d588c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -55,7 +55,7 @@ tablib==3.5.0
 tomd==0.1.3
 wagtail-cache==2.4.0
 wagtail-purge==0.3.0
-wagtail==5.2.3
+wagtail==5.2.5
 whitenoise==6.6.0
 xhtml2pdf==0.2.15
 xmltodict==0.13.0
-- 
GitLab