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

WordPress Trac noreply at wordpress.org
Mon Jul 6 22:09:50 UTC 2015


#30380: get_transient doesn't check the return of get_option
-------------------------------------+--------------------------
 Reporter:  jamesgol                 |       Owner:  ocean90
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  low                      |   Milestone:  4.3
Component:  Options, Meta APIs       |     Version:  2.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  performance
-------------------------------------+--------------------------
Changes (by ocean90):

 * keywords:  has-patch has-tests => has-patch needs-refresh
 * priority:  normal => low


Comment:

 [attachment:patch-transient-wtests.diff] uses closures for the tests which
 won't work in in PHP 5.2.
 @ericmann would you like to update the tests to make them compatible with
 5.2?

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


More information about the wp-trac mailing list