Release v1.0.6-rc10
Pre-release
Pre-release
Fix: Fatal Error with Api Class Import
This release fixes a fatal error: Class "YahnisElsts\PluginUpdateChecker\v5\Vcs\Api" not found
Root Cause
The use statement for the Api class was causing a fatal error because the class doesn't exist in the installed version of plugin-update-checker.
Changes
- Removed problematic use statement: No longer imports Api class at top level
- Added class existence check: Checks if class exists before using constant
- Numeric fallback: Uses value
0directly (RELEASE_FILTER_ALL = 0) if class doesn't exist - Better error handling: Added Error catch block for fatal errors
Testing
This version should activate without fatal errors and still include pre-releases in update checks.