Bug Fixes
- Fixed "Illegal mix of collations" errors on spell-checker and permalink-cache queries when plugin tables and WordPress core tables use different collations (e.g.
utf8mb4_unicode_520_civsutf8mb4_unicode_ci). Extended theCOLLATEprotection pattern toupdatePermalinkCache.sql,getPublishedPagesAndPostsIDs.sql, andgetIDsNeededForPermalinkCache.sql. - Fixed redirect edit form rejecting type=0 (Default 404 Page) with "Data not formatted properly" error. The validation was unable to distinguish "no type provided" from "type is 0" after int-casting.
- Fixed plugin tables not being detected after a hosting migration or
$table_prefixchange inwp-config.php. The daily maintenance cron now triggers prefix adoption so orphaned tables are auto-recovered without requiring a manual deactivate/reactivate cycle. - Fixed transient PHP fatal errors during plugin upgrades on hosts with aggressive opcache settings (WP Engine, Flywheel, etc.) caused by stale bytecode from the previous version. Critical class files are now invalidated via
opcache_invalidate()at the start of the upgrade.
Improvements
- The daily maintenance cron now checks and converts table engines back to InnoDB, fixing persistent MyISAM reversions caused by hosting environments that reset the storage engine between plugin upgrades.