Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebaroption für Titel führt zum Fehler bei den Formularfeldern und diese zum Fatal beim Speichern #1386

Closed
xwolfde opened this issue Aug 11, 2023 · 0 comments
Labels
Milestone

Comments

@xwolfde
Copy link
Member

xwolfde commented Aug 11, 2023

Wenn ein Nutzer in den Customizer in den Sidebaropts den Default-Titel für die Komtakte löschte, wird beim Aufruf der Bearbeitung der Seite ein Fehler bei der Erstellung des Formularfeldes geworfen:
grafik

Weil der Aufruf:

fau_form_text('sidebar_title_personen', $sidebar_title_personen, get_theme_mod('advanced_page_sidebar_personen_title'), __('Titel über Ansprechpartner', 'fau'));

im dritten Parameter keinen Inhalt mehr lieferte.

Daher diese Option aus den Customizer entfernen oder einen wirksamen Fallback dortetablieren.

Besser aber entfernen, da mit Umstellung auf den Block Editor die ganze Sidebar eh umgenaut werden muss und daher die ARbeit nicht lohnt.

@xwolfde xwolfde added the Bug label Aug 11, 2023
@xwolfde xwolfde closed this as completed Sep 28, 2023
@xwolfde xwolfde added this to the Version 2.4 milestone Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant