[wp-trac] [WordPress Trac] #20804: sanitize_option_* filter does not specify number of arguments

WordPress Trac wp-trac at lists.automattic.com
Thu May 31 18:31:15 UTC 2012


#20804: sanitize_option_* filter does not specify number of arguments
----------------------------+------------------------------
 Reporter:  chokladzingo    |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.4
 Severity:  trivial         |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by chokladzingo):

 For some context: supplying the $option value to callback functions is
 desirable since it will allow plugin developers to use a single sanitize
 function for all of the settings, instead of a single function for each
 setting.

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


More information about the wp-trac mailing list