[wp-trac] [WordPress Trac] #11623: review options list and update sanitize_option()

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 05:25:39 UTC 2010


#11623: review options list and update sanitize_option()
-------------------------+--------------------------------------------------
 Reporter:  dd32         |       Owner:  ryan
     Type:  enhancement  |      Status:  new 
 Priority:  normal       |   Milestone:  3.0 
Component:  Security     |     Version:  2.9 
 Severity:  normal       |    Keywords:      
-------------------------+--------------------------------------------------
Changes (by nacin):

  * keywords:  has-patch dev-feedback =>


Comment:

 Yea, it looks like dd32 created this ticket with the idea of updating
 sanitize_option() with all options that should be sanitized but aren't,
 and he just started off with 'start_of_week' (which came out of #10397).

 Looks like there are 94 options listed in schema.php and 39 options
 sanitized in sanitize_option(). The remaining 55 should be checked to see
 whether they should be sanitized as well, and I imagine we should also
 check the current 39 to ensure they are being sanitized properly.

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


More information about the wp-trac mailing list