You've already forked wp-prometheus
fix: Defer DashboardProvider translations to avoid early textdomain loading (v0.4.8)
All checks were successful
Create Release Package / build-release (push) Successful in 54s
All checks were successful
Create Release Package / build-release (push) Successful in 54s
DashboardProvider constructor also had __() calls during plugins_loaded. Applied same lazy-initialization pattern as Settings tab labels. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Fixed `_load_textdomain_just_in_time` notice on admin pages (WordPress 6.7+ compatibility)
|
||||
- Deferred `load_plugin_textdomain()` to `init` action instead of `plugins_loaded`
|
||||
- Deferred Settings tab label initialization to avoid early translation loading
|
||||
- Deferred Settings tab label and DashboardProvider initialization to avoid early translation loading
|
||||
|
||||
## [0.4.7] - 2026-02-03
|
||||
|
||||
|
||||
Reference in New Issue
Block a user