Repository navigation
Fix activation with Query Monitor 4.1.2 - #642
Conversation
Load the class map autoloader shipped with Query Monitor 4.1.2 and keep the Composer fallback for older releases. Register the missing-dependencies notice only when Query Monitor provides it. johnbillion/query-monitor@4.1.1...4.1.2
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Fixes plugin activation with Query Monitor 4.1.2. The SQLite integration now loads Query Monitor's new
autoload.phpso it can start recording database queries early. Older releases continue to use Composer'svendor/autoload.php.Why
Query Monitor 4.1.2 removed both its bundled Composer autoloader and the
QM_PHP::vendor_nopenotice. The SQLite integration treated the missing Composer file as an incomplete install and registered the removed callback. WordPress then tried to call it when rendering the Plugins screen after activation. Query Monitor changes · Failing end-to-end test on trunkSummary by CodeRabbit