[wp-trac] [WordPress Trac] #18914: register_setting() sanitisation callback two argument backwards incompatibility
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 12 11:06:32 UTC 2011
#18914: register_setting() sanitisation callback two argument backwards
incompatibility
--------------------------+------------------
Reporter: duck_ | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.3
Component: General | Version: 3.3
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+------------------
Changes (by sirzooro):
* cc: sirzooro (added)
Comment:
I propose another approach - add extra param to `register_setting()`, so
user would be able to decide if it wants to get option name or not. I have
implemented this in attached patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18914#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list