[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 17:48:49 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              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 In 4.2:

 1. Create the transient
 2. Delete its timeout
 3. Call get_transient()

 FALSE is returned

 In 4.3:

 1. Create the transient
 2. Delete its timeout
 3. Call get_transient()

 the value of a broken transient gets returned indefinitely

 See: https://core.trac.wordpress.org/changeset/33110 and #30380

 Note that a transient can get broken for a number of reasons and not
 necessary through intentionally deleting its timeout.

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


More information about the wp-trac mailing list