[wp-trac] [WordPress Trac] #23289: wp_protect_special_option rejects things it shouldn't

WordPress Trac noreply at wordpress.org
Thu Feb 28 16:49:21 UTC 2013


#23289: wp_protect_special_option rejects things it shouldn't
------------------------------+---------------------
 Reporter:  agarden           |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.6
Component:  General           |     Version:  2.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23510"]:
 {{{
 #!CommitTicketReference repository="" revision="23510"
 Ensure we strictly compare 'alloptions' and 'notoptions' when protecting
 these special options.

 Trim and check for emptiness of $option in delete_option(), as done for
 get, update, and add.

 fixes #23289.
 }}}

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


More information about the wp-trac mailing list