mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Followup 0434112aa7,
we introduced HideApplicationHeaderButtons there
but didn't validate the buttons passed to it. With this
commit we do, and send an error to the browser console
if an invalid one is used.