[wp-trac] [WordPress Trac] #59592: Store last changed value in key instead of using it as a salt for query caches
WordPress Trac
noreply at wordpress.org
Tue Jul 22 20:48:10 UTC 2025
#59592: Store last changed value in key instead of using it as a salt for query
caches
--------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.9
Component: Cache API | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+---------------------------
Comment (by spacedmonkey):
Updated function names to `wp_cache_*_salted()` and change all parameters
to salt. I also made it so that salt can be an array. That makes the logic
a lot easier to follow.
Can I get another review @peterwilsoncc @tillkruess @flixos90 @rmccue ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59592#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list