[wp-trac] [WordPress Trac] #23290: When using switch_to_blog() with a persistent object cache that lacks wp_cache_switch_to_blog() support, non-persistent groups are not maintained
WordPress Trac
noreply at wordpress.org
Sun Feb 1 12:53:51 UTC 2026
#23290: When using switch_to_blog() with a persistent object cache that lacks
wp_cache_switch_to_blog() support, non-persistent groups are not maintained
-------------------------------------------------+-------------------------
Reporter: markjaquith | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone:
Component: Cache API | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests needs- | Focuses: multisite
refresh |
-------------------------------------------------+-------------------------
Changes (by r1k0):
* keywords: has-patch needs-testing needs-unit-tests needs-refresh => has-
patch needs-unit-tests needs-refresh
Comment:
[https://core.trac.wordpress.org/attachment/ticket/23290/23290.patch
Patch] does not apply cleanly to current trunk. `.rej` files are generated
for `wp-includes/cache.php` and `wp-includes/ms-blogs.php`. Patch needs a
refresh to match trunk. Removed `needs-testing`.
=== Error:
{{{
Running
"patch:https://core.trac.wordpress.org/attachment/ticket/23290/23290.patch"
(patch) task
patching file wp-includes/cache.php
Hunk #1 FAILED at 608.
1 out of 1 hunk FAILED -- saving rejects to file wp-includes/cache.php.rej
patching file wp-includes/ms-blogs.php
Hunk #1 FAILED at 518.
Hunk #2 FAILED at 579.
Hunk #3 FAILED at 626.
3 out of 3 hunks FAILED -- saving rejects to file wp-includes/ms-
blogs.php.rej
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23290#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list