Perfmatters version 2.6.8

Version 2.6.8 of our Perfmatters WordPress plugin was released on September 9, 2026.

Changelog summary

  • Added new Inline Excluded Stylesheets advanced option to automatically inline stylesheets excluded from Remove Unused CSS.
  • Added new Safe Mode option to disable all Perfmatters performance optimizations sitewide without impacting security-related options or code snippets.
  • Added new Load in Block Editor option for frontend CSS code snippets so those styles can also appear in the WordPress block editor canvas.
  • Added new perfmatters_inline_scripts filter which allows you to inline specific local JavaScript files.
  • Improved stylesheet inlining via the new perfmatters_inline_stylesheets filter (perfmatters_rucss_inline_stylesheets still supported), which can now run independently of Remove Unused CSS while still deferring to RUCSS for non-excluded stylesheets.
  • Made some adjustments to code snippets UI visibility script.
  • Moved Instant Page, Preconnect, and DNS Prefetch into the main Perfmatters queue so they respect the same request-level disable checks as other front-end optimizations.
  • Removed redundant admin and ?perfmattersoff checks from FastClick output, which is already gated by the main Perfmatters queue.
  • Fixed a PHP warning in Minify class when parse_url() returned false for a malformed script or stylesheet URL.
  • Fixed a PHP fatal error that could stop buffer optimizations from running when one-per-line options were stored as a string instead of an array.
  • Improved Remove Unused CSS to detect local stylesheets from the URL path, which should resolve most third-party CDN rewrites without needing the CDN URL setting or local stylesheet filter.
  • Fixed an issue where Remove Unused CSS could delay, async, or remove external stylesheets that were never included in used CSS.
  • Fixed get_file_path incorrectly stripping characters from asset paths on subdirectory installs in certain cases.
  • Fixed a compatibility issue with Infinite Uploads that prevented code snippets from loading correctly.
  • Fixed an issue where Perfmatters meta options were not available when creating a new post or page until after saving.
  • Fixed an issue where code snippet filenames with non-ASCII characters (such as Korean) were incorrectly encoded on disk.
  • Added missing license notices for bundled third-party libraries.
author bio
Brett Jackson

Developer from Vancouver, WA, who loves building web applications. And of course, anything WordPress.

Leave a Comment