[wp-trac] [WordPress Trac] #25308: wp_cache_set, wp_cache_add, set_transient should handle and notify on non-ints expirations
WordPress Trac
noreply at wordpress.org
Fri Sep 13 20:40:26 UTC 2013
#25308: wp_cache_set, wp_cache_add, set_transient should handle and notify on non-
ints expirations
------------------------------------+--------------------
Reporter: andreasnrb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: Cache | Version: 3.6.1
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+--------------------
Comment (by c3mdigital):
Replying to [comment:6 nacin]:
> "Currently plugin and theme developers pass strings and other types as
expirations" - any evidence for this to show just how bad things are?
Quickly going through the
[https://www.google.com/search?q=site%3Aplugins.svn.wordpress.org+wp_cache_set+OR+wp_cache_add+OR+wp_set_transient&oq=site%3Aplugins.svn.wordpress.org+wp_cache_set+OR+wp_cache_add+OR+wp_set_transient&aqs=chrome..69i57j69i58.5063j0&sourceid=chrome&ie=UTF-8#q=site%3Aplugins.svn.wordpress.org+wp_cache_set+OR+wp_cache_add+OR+wp_set_transient&start=0
plugin repo] it looks like many developers are not even setting
expirations. I couldn't find one using a string.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25308#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list