WordPress 6.1.1 Stable

Released on: Monday, 19 October 2026 12:37

What's new

Version 6.1.0 is a security and maintenance release, and we recommend all users update. It requires PHP 8.1 or later, and updates the bundled third-party libraries to current stable releases.

Security: this release fixes cross-site scripting through encoded characters in URLs, requires a valid nonce for every administrator task that changes settings or files, and fixes an open redirect in the Clean Cache task. It stops CSS and JavaScript files outside the site root from being read through encoded slashes in their URLs when files are combined, and stops combining files from fetching files from private network addresses. It also validates the image URLs and paths returned by the image optimization service, removes the jchbackend URL parameter, keeps the Cloudflare API token, Redis password and Download ID out of settings exports, and waits for an administrator before applying the .htaccess changes and the Mode Switcher after an update.

Page Cache: pages left unoptimized for a single request are no longer cached and served to every visitor, and only pages on the site's own host are cached. Page Cache's cookies now follow the COOKIEPATH and COOKIE_DOMAIN settings, are HTTPS only on HTTPS sites, and cover the whole site.

Optimize Fonts: with Optimize CSS Delivery on, the @font-face rules used above the fold stay in the critical CSS, so fonts are no longer delayed. Stylesheets listed in "Optimize these files" are no longer removed from the page while Optimize Fonts is off.

Cache and Recache: identical optimized content is now stored once, reducing the cache's size on disk, and garbage collection no longer removes cache files still in use. Only one Recache runs at a time, and Recache from the command line no longer cleans the cache when it can't reach the selected cache storage. Redis connections through a Unix socket are recognized.

Uninstalling now deletes the plugin's cache folder and the next-gen and responsive images it created. Backups of optimized images are kept.

Several other bugs were fixed, including relative URLs on pages with a tag, responsive background CSS on LCP images, browsers autofilling the Redis password, and duplicated @imports. See the CHANGELOG for details.

Developed and tested on up to PHP 8.5.11 and WordPress 7.1.3

Changelog

Bug fixes

  • [LOW] Fix Add Image Attributes showing an error on pages with an image button ().
  • [LOW] Fix Load responsive images leaving a broken style attribute on an element above the fold with several background images in its style attribute. All of them are moved to the style element now. [Pro Version]
  • [LOW] Fix PHP warnings and notices being shown in the responses to the plugin's admin requests on sites that display PHP errors, which could stop the admin pages working.
  • [LOW] Fix Stripe's script (js.stripe.com) being combined and moved with the other scripts. It is left where it is again.
  • [LOW] Fix the Exclude image from sprite and Include additional images in sprite settings failing to list the sprite's images.
  • [LOW] Optimize Images adds each image to its list of optimized images once. An image optimized again was added again, so the list kept growing. [Pro Version]
  • [MEDIUM] Fix Cloudflare's whole cache being cleared each time JCH Optimize removed expired files from its cache, with Enable Cloudflare purge on. Only the pages removed from the Page Cache, including pages that used an expired combined file, are cleared at Cloudflare now, sent in batches Cloudflare accepts. Deleting pages on the Page Cache page with none that are still cached no longer clears Cloudflare's whole cache either. [Pro Version]
  • [MEDIUM] Fix JCH Optimize Pro 6.1.0 offering 6.1.0 as an update after it was installed. 6.1.0 reported its version to the update check as 6.0.2.1. [Pro Version]
  • [MEDIUM] Fix pages showing an error page when the Sprite Generator is on and the combined CSS has background images for a sprite.
  • [MEDIUM] Fix pages whose URL can't be stored in the capture cache, such as a URL with %25 or .. in its query string, showing an error page when served from the Page Cache, and stopping the Page Cache page from listing cached pages. These pages aren't capture-cached now. [Pro Version]
  • [MEDIUM] Fix visitors who logged in with a login form on a page of the site, such as WooCommerce's My Account page, being kept out of the Page Cache after logging out, until the end of the Page Cache's lifetime, with Exclude form users on. The login form is a posted form, and the cookie it set stayed after logout. It is removed when the user logs out now.
  • [MEDIUM] Logging in sets the cookie that keeps logged-in users out of the capture cache right away, so the first pages they visit after logging in on wp-login.php aren't served from it. [Pro Version]

JCH Optimize for WordPress

WordPress 4.x

Downloaded 22 times
File size 1.86 Mb
MD5 Signature 7f055b02fce4e7d885e800c398d4b14d
SHA1 Signature 660a09247a952fb32b5571cc7e72b41d0a4f7961
SHA-256 Signature 82c63d87449fa97c8108bf323f1f97ce2ca51b8090b8c5d9189b0b28950f7b77
SHA-384 Signature 66af3b4b275a21399782f3995136a3f46eb12f0a73fd1595f40d7bd3a95e31a0d0b4425edd5de829be3ceb59ea170043
SHA-512 Signature d87612ccf909e5e8d32bf02601cc78fab128b60407adce4bb6fddc5a3deede28c6acb76c8fcc6ba1f780e88bb08c672edd832224e6bf1daa8fbb2624e9fee48c
Compatibility WordPress 4.x

JCH Optimize performs several front-end optimizations for fast downloads.