Skip to content

v1.11.0

Latest
Compare
Choose a tag to compare
@Chrico Chrico released this 28 Nov 09:45
c79bb36

What's Changed

Avoid loading translations too early - see #56

Links:

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

Full Changelog: 1.10.0...1.11.0