[wp-trac] [WordPress Trac] #18737: Always run the sanitize_option_* filter

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 21 16:32:42 UTC 2011


#18737: Always run the sanitize_option_* filter
--------------------------+-------------------
 Reporter:  ryan          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.3
Component:  Validation    |    Version:  3.2.1
 Severity:  normal        |   Keywords:
--------------------------+-------------------
 The sanitize_option_* filter trigger in sanitize_option() does not run for
 core options that are part of the switch statement.  When options are
 added to this switch they are no longer run through the filter.  This can
 create plugin back compat issues.  Let's run that filter for all options.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18737>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list