v1.11.0
What's Changed
Avoid loading translations too early - see #56
Links:
- https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/
- https://core.trac.wordpress.org/ticket/62462#comment:4
With WordPress 6.7 the need to call load_plugin_textdomain() manually was removed. In return for that, the user receives now a notice via _doing_it_wrong(), if translations are loaded/accessed too early (before after_setup_theme).
inpsyde/modularity will now pass $translate = false in the call to get_plugin_data for PluginProperties to avoid any notices.
If you want to use translated strings from your Properties, you need to apply following changes:
Before:
echo esc_html( $props->description() );After:
esc_html_e( $props->description(), $props->textDomain() );Miscellaneous
- Update minimum PHP version to 7.4 in README.md and /docs/README.md - see #54
- Rename to Syde - see #55
New Contributors
- @InpsydeNiklas made their first contribution in #54
- @AlexP11223 made their first contribution in #55
Full Changelog: 1.10.0...1.11.0