Patch release fixing a fatal error on activation.
Fixed
-
Activation fatal error when installed without Composer's
vendor/(#1, #2). The bootstrap loaded the PSR-4AssetDrips\namespace only throughvendor/autoload.php, so an archive shipped without avendor/directory loaded no classes and activation died with:Uncaught Error: Class "AssetDrips\Db\Schema" not found in assetdrips.php:48AssetDrips has no third-party runtime dependencies, so the autoloader's only runtime job is mapping
AssetDrips\→src/. It now registers a minimal built-in PSR-4 autoloader whenvendor/autoload.phpis absent, making the plugin self-contained however it is packaged.Thanks to @mboss97 for the report and the fix.
Note on the download
Earlier, the built plugin asset and GitHub's auto-generated Source code (zip) both happened to be named assetdrips-1.0.0.zip, and only the former shipped vendor/ — which is how you could end up with the archive that fataled. The built asset is now named assetdrips.zip, so the two are always distinguishable. (As of this release the source archive works on its own anyway.)
Install
Download assetdrips.zip below, then in WordPress: Plugins → Add New → Upload Plugin, choose the ZIP, install, and activate. Upgrading from 1.0.0 is a straight replacement — no data or schema changes.
Requirements
WordPress 6.0+, PHP 8.1+.
Full details in the CHANGELOG.