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

WordPress Trac noreply at wordpress.org
Sun Jun 28 11:59:28 UTC 2015


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

 * keywords:  has-patch needs-unit-tests => has-patch has-tests


Comment:

 I've refreshed the patch file, and also added some tests to verify that
 transient options are deleted (or not deleted) under the conditions
 explained in the ticket.

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


More information about the wp-trac mailing list