[wp-trac] [WordPress Trac] #25015: Options cache updated by update_option() and add_option() even on failure

WordPress Trac noreply at wordpress.org
Wed Oct 2 20:42:40 UTC 2013


#25015: Options cache updated by update_option() and add_option() even on failure
------------------------------+---------------------
 Reporter:  jdgrimes          |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.7
Component:  Cache             |     Version:  2.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25664"]:
 {{{
 #!CommitTicketReference repository="" revision="25664"
 When queries fail in option functions, bail before setting cache.

 Standardize variables so things are less confusing.

 fixes #25015.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25015#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list