Release v2.5.6
Perfmatters v2.5.6
What's new in v2.5.6
Perfmatters v2.5.6 was released on . We developed the perfmatters plugin with simplicity in mind. See the full changelog below and compare with the complete version history.
Release details
Released
830.4 KB
File unavailable
Changelog
Added
- new perfmatters_cdn_url filter along with new helper methods in the CDN class.
- the ability to completely disable Perfmatters code features using the new PERFMATTERS_DISABLE_CODE constant.
- confirmation message when turning on FastClick option.
- logic to remove the previous stored author ID when a code snippet is imported.
- host name to global settings and code snippet export files.
- additional logic to add an auto value to lazy loaded images sizes attributes when needed.
- separate used CSS generated files for different WooCommerce product types.
- dynamic request check in heartbeat function to prevent a possible PHP error.
Improved
- lazy loading class to no longer add noscript tags by default for images and iframes to reduce HTML page size. The perfmatters_lazyload_noscript filter can still be used to turn that behavior back on.
- get_atts_array utility method to use regex instead of wp_kses_hair for better compatibility.
Other
- Reworked code snippet error handling class to work better with other exception handlers and existing error reporting.
- Turned off CSSLint in the code snippet editor, as it is outdated and was leading to false positives.
- Adjusted gutter column layout in the code snippet editor to be more consistent between different code types.
- Adjusted code snippet priority field to allow both negative and zero input values.
- Translation updates.
Fixed
- an issue where CSS code snippets set to run in the footer were not having their conditions checked.
- an issue where CSS code snippets were not always printing where expected based on the set location and priority.
- an issue with certain code snippet input fields not being escaped properly in the UI leading to a broken layout in some cases.
- an issue where YouTube iframes rendered with a preview thumbnail that had autoplay forced off in their query string would require a double click.
- an issue where the referrerpolicy iframe attribute did not get applied to the generated iframe when using YouTube preview thumbnails.
Compatibility
- Requires WordPress
- 5.5
- Tested up to
- 7.0.1
- Requires PHP
- 8.1
Verified safe
Perfmatters v2.5.6 scanned clean with no security threats detected.
View full scan report