0.2.0
Release 0.2.0
- Added
BasicPlugininterface (inc/BasicPlugin.php) withmount(),setUrl(),setPath(). - Refactored
BlockPresetClassesto implementBasicPluginwith injected URL and path. buildPath/buildUrlnow pass throughblock_preset_classes_plugin_path/block_preset_classes_plugin_urlfilters for integrator overrides.- Plugin bootstrap now uses a named function
create_block_preset_classes_plugin(). - Removed hardcoded
versionfromcomposer.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().