[wp-trac] [WordPress Trac] #30380: get_transient doesn't check the return of get_option

WordPress Trac noreply at wordpress.org
Wed Feb 18 23:03:40 UTC 2015


#30380: get_transient doesn't check the return of get_option
---------------------------------+--------------------------
 Reporter:  jamesgol             |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  4.2
Component:  Options, Meta APIs   |     Version:  2.8
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.2-early  |     Focuses:  performance
---------------------------------+--------------------------

Comment (by jamesgol):

 @ocean90 If broken transients is really something to worry about then I
 would say something called occasionally from cron to clean them up would
 be better than something that can be called many times for every request.

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


More information about the wp-trac mailing list