diff --git a/src/wagtail_personalisation/wagtail_hooks.py b/src/wagtail_personalisation/wagtail_hooks.py index 4b1191b1..394a0599 100644 --- a/src/wagtail_personalisation/wagtail_hooks.py +++ b/src/wagtail_personalisation/wagtail_hooks.py @@ -176,7 +176,7 @@ def page_listing_variant_buttons(page, page_perms, *args, **is_parent): if WAGTAIL_VERSION >= (5, 2): @hooks.register("register_page_listing_variant_buttons") - def page_listing_more_buttons(page, user, is_parent=False, *args): + def page_listing_more_buttons(page, user, is_parent=False, *args, **kwargs): """Adds a 'more' button to personalisable pages allowing users to quickly create a new variant for the selected segment.