diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 72ac9f834f..f421c0853a 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -58,6 +58,7 @@ Changelog * Maintenance: Add `default_auto_field` setting to home app in project template (Sylvain Boissel) * Maintenance: Migrate setuptools configuration from `setup.py` and `setup.cfg` to `pyproject.toml` (Sage Abdullah) * Maintenance: Refactor `move_choose_destination` to a class-based view (Chiemezuo Akujobi) + * Maintenance: Remove deprecated `wagtailadmin/shared/ajax_pagination_nav.html` template (Sage Abdullah) 6.4.1 (21.02.2025) diff --git a/docs/releases/7.0.md b/docs/releases/7.0.md index d967f67052..e11649a33f 100644 --- a/docs/releases/7.0.md +++ b/docs/releases/7.0.md @@ -202,3 +202,9 @@ The `insert_editor_js` hook will continue to be output when editing pages, as do The undocumented template partial `wagtailadmin/pages/_editor_js.html` has been deprecated and will be removed in a future release. If your project overrides the template to inject custom JavaScript into the Wagtail admin, you should follow the documented approaches to either use the [](insert_editor_js) hook or the [](insert_global_admin_js) hook instead. + +### Removal of `wagtailadmin/shared/ajax_pagination_nav.html` template + +The undocumented template partial `wagtailadmin/shared/ajax_pagination_nav.html` was marked for soft deprecation in Wagtail 2.16 and has now been removed. + +If you use or override the template, you should use `wagtailadmin/shared/pagination_nav.html` with meaningful URLs as the `linkurl` value instead. diff --git a/wagtail/admin/templates/wagtailadmin/shared/ajax_pagination_nav.html b/wagtail/admin/templates/wagtailadmin/shared/ajax_pagination_nav.html deleted file mode 100644 index 965d09d1d5..0000000000 --- a/wagtail/admin/templates/wagtailadmin/shared/ajax_pagination_nav.html +++ /dev/null @@ -1,25 +0,0 @@ -{# DEPRECATED. Use pagination_nav.html with meaningful URLs instead #} -{% load i18n %} -{% load wagtailadmin_tags %} - -