[wp-trac] [WordPress Trac] #33276: redundant wp_using_ext_object_cache check in get/set_transient

WordPress Trac noreply at wordpress.org
Sun Aug 14 13:09:59 UTC 2016


#33276: redundant wp_using_ext_object_cache check in get/set_transient
--------------------------+------------------------------
 Reporter:  shmulikk      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Cache API     |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  performance
--------------------------+------------------------------

Comment (by shmulikk):

 Even if all my claims are not accepted, I would still argue against this
 short circuit in the logic of the transients. I fail to see why this code
 is in there, as the exact same code will get executed in the corresponding
 Options functions.

 Best,

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


More information about the wp-trac mailing list