Repository navigation
0.3.0
What's Changed
- Added
BasicPlugininterface;FeaturedImageBlockFallbacknow implements it for type-safe Composer integration. - Renamed
$uri/setUri()to$url/setUrl()to match the interface contract. - Constructor now accepts URL and path with sanitized defaults (
esc_url_raw/esc_html). - Added
buildPath()andbuildUrl()helpers with filterable asset resolution:featured_image_block_fallback_plugin_pathfeatured_image_block_fallback_plugin_url
- Added
getScriptAssets()supporting bothindex.asset.phpandindex.assets.phpnaming conventions. - Fixed plugin bootstrap: URL and path are now passed to the constructor (previously incorrectly passed to
mount()). - Removed hardcoded
"version"field fromcomposer.json— version is now read from git tags. - Added
.eslintignoreto excludeinstructions/from linting. - Added
readme.txtfor WordPress plugin directory compatibility.
Upgrade Notice
If you were calling setUri() directly, update to setUrl().