[wp-trac] [WordPress Trac] #11506: Creation of unnamed option is possible
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 31 05:09:30 UTC 2009
#11506: Creation of unnamed option is possible
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: ericmann
Type: defect (bug) | Status: accepted
Priority: lowest | Milestone: 3.0
Component: General | Version: 2.9
Severity: trivial | Keywords: has_patch, needs_testing
--------------------------+-------------------------------------------------
Changes (by ericmann):
* keywords: => has_patch, needs_testing
* owner: => ericmann
* status: new => accepted
Comment:
The patch I just added will check to see if $option_name is empty or blank
(whitespace) before adding it to the options table. If the $option_name
is invalid, update_option() will return false.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11506#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list