You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 03c8718
Browse filesBrowse the repository at this point in the historyBrowse files
Cache API: Do not cache a miss while cache addition is suspended.
[63354] replaced wp_cache_add() with wp_cache_set() in get_instance() on WP_Post, WP_Term,
WP_Comment, WP_Site and WP_Network. Only add() checks wp_suspend_cache_addition(), so all
five began caching a miss while additions are suspended. Replacing an unusable cached value
is not an addition, so only a genuine miss now defers to the flag.
See #66006.
0 commit comments