= 5.3.2 =
* Improved: Smart Optimize purges a page from LiteSpeed Cache silently, instead of adding a LiteSpeed Cache “Purge url” admin notice for every page it analyzed.
* Fixed: Smart Optimize decided whether a visitor was on mobile by the window’s width when storing results, but by user agent when applying them. So tablets wider than 768px and narrow desktop windows analyzed pages on every visit, tablets could get the results meant for phones, and a narrow desktop window could store a page’s desktop results as mobile. Results are now stored by user agent too, like most page caches separate mobile and desktop.
* Fixed: Smart Optimize no longer analyzes WooCommerce’s endpoints, e.g. order received pages (/checkout/order-received//) or My Account’s orders, and doesn’t apply the results of the page they belong to (e.g. the checkout form) to them, because their contents are different.
* Fixed: Smart Optimize no longer analyzes pages which shouldn’t be page cached, i.e. pages defining the DONOTCACHEPAGE constant (e.g. WooCommerce’s cart, checkout and account pages), and doesn’t apply results to them.
* Fixed: local stylesheets loaded through a URL containing ../ (e.g. Super Speedy Search’s stylesheet) couldn’t be cached, because their cache path contained ../ as well.
* Added: the omgf_pro_smart_optimize_excluded filter, to exclude pages from Smart Optimize.
* Fixed: when the license server couldn’t be reached, requesting OMGF Pro’s plugin information caused a fatal error (“Attempt to assign property “plugin” on false”), e.g. in Plugin Report or during Wordfence’s update check.
* Fixed: license keys which can’t be decrypted (e.g. after migrating a site) no longer cause a PHP warning on every page load, and license keys are no longer written to the license manager’s debug log.