[wp-trac] [WordPress Trac] #23289: wp_protect_special_option rejects things it shouldn't
WordPress Trac
noreply at wordpress.org
Fri Jan 25 14:28:07 UTC 2013
#23289: wp_protect_special_option rejects things it shouldn't
------------------------------+------------------
Reporter: agarden | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: General | Version: 2.2
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+------------------
Comment (by nacin):
Best I can tell, this would only affect delete_option(). The other methods
— get, update, and add — all trim( $option ) then check if $option is
empty, and if so, return false. trim() would convert 0 to '0' but this is
still empty.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23289#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list