Taxonomy vocabularies and PHP 8.2 - needs direction / decision.
Core support for PHP 8.2 is on its way. In a previous pull request, we decided to check for property existence in function taxonomy_form_vocabulary_submit() to prevent arbitrary form item values to bloat the object, but it turns out, that's not sufficient and possibly not even appropriate.
Looking at official documentation, it seems like class TaxonomyVocabulary is actually supposed to allow dynamic properties. We just didn't realize, as hook_taxonomy_vocabulary_load() isn't used anywhere in core. And there's no functional test for that hook, either.
Funnily we launched a new Dutch website this very week, milieucafe.nl
It is not a 'news' website but operates in the context of local government. The layout focuses on content instead of...
The answer is off topic, but I'll add a little.
1. Backend. Why you don't need links to other websites: Since you know the structure of your site and content, you can decide for...
Hi Chrys,
AI isn't always your best friend. A form alter hook is correct, but hiding by CSS isn't ideal.
You could look at how the TinyMCE integration does it, which provides hiding...
Hi zilvervos...,
Welcome back to Backdrop.
I've just started a new "news" website for a client, but it's at the very early stages. I'm hoping to have a soft launch in a couple...
Comments
Taxonomy vocabularies and PHP 8.2 - needs direction / decision.
Core support for PHP 8.2 is on its way. In a previous pull request, we decided to check for property existence in function taxonomy_form_vocabulary_submit() to prevent arbitrary form item values to bloat the object, but it turns out, that's not sufficient and possibly not even appropriate.
Looking at official documentation, it seems like class TaxonomyVocabulary is actually supposed to allow dynamic properties. We just didn't realize, as hook_taxonomy_vocabulary_load() isn't used anywhere in core. And there's no functional test for that hook, either.
Issue #6197 provides more info.
The decision has notable impact on contrib modules.