Skip to content

0.2.0

Choose a tag to compare

@bob-moore bob-moore released this 23 Apr 15:02
· 26 commits to main since this release

Release 0.2.0

  • Added BasicPlugin interface (inc/BasicPlugin.php) with mount(), setUrl(), setPath().
  • Refactored BlockPresetClasses to implement BasicPlugin with injected URL and path.
  • buildPath / buildUrl now pass through block_preset_classes_plugin_path / block_preset_classes_plugin_url filters for integrator overrides.
  • Plugin bootstrap now uses a named function create_block_preset_classes_plugin().
  • Removed hardcoded version from composer.json; version is now read from git tags.

Upgrade notice: If using as a Composer library, update instantiation to pass plugin_dir_url( __FILE__ ) and plugin_dir_path( __FILE__ ) to the constructor, then call $plugin->mount().