[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 15:46:54 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 tollmanz):

 @andreasnrb Can you explain what types of problems this causes with
 external object caches? Are you finding fatal errors, broken applications,
 notices, etc?

 I think it might be on the authors of the external object caches to
 implement the warning, type casting, or input validation/sanitization.
 Changing this in the core class would only serve to warning devs, but
 would not actually fix the problem.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25308#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list