You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to update the model title from dialogs in multi language setup, $languageCode returns null always. I don't remember when it's broken but I think this is a regression.
return [
'hooks' => [
'site.changeTitle:before' => function (Kirby\Cms\Site$site, string$title, ?string$languageCode = null) {
// language code returns null
},
'page.changeTitle:before' => function (Kirby\Cms\Page$page, string$title, ?string$languageCode = null) {
// language code returns null
}
]
];
Your setup
Kirby Version
3.9.10 & 4.0.2
The text was updated successfully, but these errors were encountered:
Description
When you try to update the model title from dialogs in multi language setup,
$languageCode
returnsnull
always. I don't remember when it's broken but I think this is a regression.Your setup
Kirby Version
3.9.10 & 4.0.2
The text was updated successfully, but these errors were encountered: