- 🇦🇺Australia fenstrat Australia
This is a better approach, tested, looks good to me.
Currently the form_alter hook checks for a class in the form attributes which is flakey as if this class is removed in the future or if another module/theme has removed this class the module will no longer work.
Use hook_form_BASE_FORM_ID_alter
instead.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This is a better approach, tested, looks good to me.