VIP MU plugins v20261103.1
16:34:32 GMT+0000
View Pull Request: https://github.com/Automattic/vip-go-mu-plugins/pull/7511
Fixed
- Enterprise Search: Fixed editing a term with a very large number of posts running out of memory. Terms with more than 10,000 posts are now reindexed in the background.
- Enterprise Search: Fixed later term edits in the same request not being reindexed after a large term was edited.
- Fixed a fatal error in the VIP Search index settings health check when retrieving index settings from Elasticsearch fails.
- Enterprise Search: Fixed PHP memory exhaustion when editing a term attached to a very large number of posts.
- VIP Search: Fixed Jetpack Search staying active on sites where Enterprise Search offloading is enabled through the integration config
- Fixed an order-dependent failure in the Search queue notification unit test.
- No customer-facing changes: CI and e2e tooling only.
- No customer-facing changes: CI and tests only.
- No customer-facing changes: dev dependencies, lint and CI tooling only.
- Prevent revision restores from resetting non-revisioned post metadata, including custom fields, pattern sync status, and collaboration documents.
- Cache Personalization API: Fixed stale
Vary_Cachegroup membership after clearing a user’s last remaining group. - Cache Personalization API: Fixed
Vary_Cache::remove_nocache_for_user()sending aSet-Cookieheader (and making the page uncacheable) when the request had no nocache cookie. - Cache Personalization API: Fixed a fatal error and PHP notices in cache personalization (
Vary_Cache) when a request sends the group cookie in array form, such asvip-go-seg[]=x, or a malformed encryptedvip-go-authcookie. - Cache Personalization API: Fixed encrypted group cookies being accepted after their embedded expiry, or in a form the VIP cache layer rejects, when PHP decrypts the cookie itself.
- Cache Personalization API: : With encryption enabled, group membership is now read only from the encrypted auth cookie, and a cleared group is no longer restored from a leftover
vip-go-segcookie. - Jetpack: Hide the Backup dashboard menu added in Jetpack 16.3.
- Cache Personalization API: Fixed users losing their group when
Vary_Cache::register_group()orregister_groups()is called afterinitpriority 10, or called again for a group that is already registered. - Cache Personalization API: Fixed
is_user_in_group_segment()not matching on later requests when the segment was set or checked as an integer. - Cache Personalization API: Fixed group and nocache cookies set from REST API routes never being sent. They are now sent on REST requests other than GET, HEAD and OPTIONS.
- Cache Personalization API: Fixed a fatal error when the group cookie contains a space, comma or semicolon, for example from a client-side write with
%20or%2C. - Enterprise Search: Fixed PHP warnings on taxonomy queries for a term that can’t be found
- Object cache: Fixed a PHP 8.5 deprecation when a cache call passes a null group
- Action Scheduler: Fixed a fatal error on shutdown when the queue batch size is filtered to zero
- Fixed PHP warnings and deprecations from the APCu cache interceptor, old slug redirects, the machine user capability check, site details roles, and attachment URL lookups
- Search Dev Tools: Fixed a fatal error when the REST endpoint receives a non-string
queryparameter - Site details: Fixed a fatal error in the sync cron when a theme update entry is an object
- Fixed fatal errors in role capability refreshes before pluggable functions load, REST batch requests, and Jetpack Stats helpers when
stats_get_csv()isn’t loaded - Fixed PHP warnings for incomplete plugin update data, file paths without a scheme, attachment pages without a global post, and filtered image sizes
Changed
- Updated the wp-parsely submodule (used for local development environments) to version 3.24.4.
- Cache Personalization API: Cookies now use the
Secureattribute on HTTPS requests to sites with an HTTPS home URL. - Cache Personalization API:
Vary_Cache::set_group_for_user()no longer re-sends the group cookie when the user’s groups are unchanged, so those responses can be cached. Use thevip_vary_cache_refresh_group_cookiefilter to keep re-sending it (for example, to extend its expiry). - Cache Personalization API: Documented cookie attributes, group values, encrypted segmentation and hooks in the
cache/README.mdreference section. - Replaced deprecated
trigger_error()calls usingE_USER_ERRORwith thrown errors, for PHP 8.4 compatibility
Added
- Cache Personalization API: Added
Vary_Cache::get_group_value()to read the user’s value for a group.