[wp-trac] [WordPress Trac] #15335: register_setting() filter for sanitization callback needs to indicate 2 arguments accepted
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 26 03:58:29 UTC 2011
#15335: register_setting() filter for sanitization callback needs to indicate 2
arguments accepted
-----------------------------+-----------------------------
Reporter: lumination | Owner: markjaquith
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch early |
-----------------------------+-----------------------------
Changes (by markjaquith):
* keywords: has-patch => has-patch early
* owner: => markjaquith
* status: new => accepted
Comment:
This is a really lame omission. You should be able to have a generic save
handler that does a {{{switch}}} on the option name and does your
sanitization magic. 3.3-early, please.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15335#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list