[wp-trac] [WordPress Trac] #33561: get_transient() will always return the value of a broken transient

WordPress Trac noreply at wordpress.org
Wed Aug 26 18:54:22 UTC 2015


#33561: get_transient() will always return the value of a broken transient
----------------------------------------+------------------------------
 Reporter:  deconf                      |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Options, Meta APIs          |     Version:  4.3
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+------------------------------

Comment (by johnbillion):

 Replying to [ticket:33561 deconf]:
 > Note that a transient can get broken for a number of reasons and not
 necessary through intentionally deleting its timeout.
 While this is technically true, is there a way for a transient timeout to
 get deleted other than by removing its entry in the `wp_options` table via
 a database query? I don't believe it's possible via the API.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33561#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list