Update 4.2 release notes for `class_name` warning (#9998)

pull/10000/head
LB (Ben Johnston) 2023-02-01 21:01:24 +10:00 zatwierdzone przez GitHub
rodzic 992d4c4ecb
commit 0b822f2ccf
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -231,7 +231,7 @@ If these are used within packages or customisations they will need to be updated
| `tab_nav_link` | `{% include 'wagtailadmin/shared/tabs/tab_nav_link.html' with classname="..." %}` | `{% include 'wagtailadmin/shared/tabs/tab_nav_link.html' with classes="..." %}` |
| `side_panel_button` | `{% include 'wagtailadmin/shared/side_panels/includes/side_panel_button.html' with classname="..." %}` | `{% include 'wagtailadmin/shared/side_panels/includes/side_panel_button.html' with classes="..." %}` |
Note that the `icon` template tag will still support `class_name` until Wagtail version 5 but will trigger a deprecation warning.
Note that the `icon` template tag will still support `class_name` with a deprecation warning. Support will be dropped in a future release.
### `InlinePanel` JavaScript function is now a class