From 2935c13098953b60cd638cd2c977a1de6820c1f1 Mon Sep 17 00:00:00 2001 From: Fedik Date: Tue, 7 Oct 2025 19:44:23 +0300 Subject: [PATCH 1/3] Note for onBeforeExecute event --- migrations/54-60/new-features.md | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/54-60/new-features.md b/migrations/54-60/new-features.md index 21667a56..f95063d8 100644 --- a/migrations/54-60/new-features.md +++ b/migrations/54-60/new-features.md @@ -292,6 +292,7 @@ It is now possible to batch remove a tag. PR: https://github.com/joomla/joomla-c - **PR**: [#45426](https://github.com/joomla/joomla-cms/pull/45426) by **Fedik** - **Usage**: Subscribe to `onBeforeExecute` to hook before app runs. - **Impact**: Enables pre-routing plugins. +- **Note**: The language available only onAfterInitialise event, and if you're trying to use language in the plugin constructor consider to move this logic in to the even callback. --- From e2e4a4ea09ce1ed0388a28597ce58a79defa83a3 Mon Sep 17 00:00:00 2001 From: Fedik Date: Tue, 7 Oct 2025 19:45:31 +0300 Subject: [PATCH 2/3] Note for onBeforeExecute event --- migrations/54-60/new-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/54-60/new-features.md b/migrations/54-60/new-features.md index f95063d8..1015aabf 100644 --- a/migrations/54-60/new-features.md +++ b/migrations/54-60/new-features.md @@ -292,7 +292,7 @@ It is now possible to batch remove a tag. PR: https://github.com/joomla/joomla-c - **PR**: [#45426](https://github.com/joomla/joomla-cms/pull/45426) by **Fedik** - **Usage**: Subscribe to `onBeforeExecute` to hook before app runs. - **Impact**: Enables pre-routing plugins. -- **Note**: The language available only onAfterInitialise event, and if you're trying to use language in the plugin constructor consider to move this logic in to the even callback. +- **Note**: The language available only onAfterInitialise event, and if you're trying to use language in the plugin constructor consider to move this logic in to the event callback. --- From d97afe5c730d26b593097b482f47a340c840a9e5 Mon Sep 17 00:00:00 2001 From: Fedir Zinchuk Date: Tue, 7 Oct 2025 21:16:32 +0300 Subject: [PATCH 3/3] Update migrations/54-60/new-features.md Co-authored-by: Richard Fath --- migrations/54-60/new-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/54-60/new-features.md b/migrations/54-60/new-features.md index 1015aabf..aba739e3 100644 --- a/migrations/54-60/new-features.md +++ b/migrations/54-60/new-features.md @@ -292,7 +292,7 @@ It is now possible to batch remove a tag. PR: https://github.com/joomla/joomla-c - **PR**: [#45426](https://github.com/joomla/joomla-cms/pull/45426) by **Fedik** - **Usage**: Subscribe to `onBeforeExecute` to hook before app runs. - **Impact**: Enables pre-routing plugins. -- **Note**: The language available only onAfterInitialise event, and if you're trying to use language in the plugin constructor consider to move this logic in to the event callback. +- **Note**: The language is available only onAfterInitialise event. If you're trying to use language in the plugin constructor, consider to move this logic into the event callback. ---