[wp-trac] [WordPress Trac] #19315: sanitize_option callback in register_setting()

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 05:40:29 UTC 2012


#19315: sanitize_option callback in register_setting()
---------------------------+-------------------------
 Reporter:  digitalnature  |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Validation     |     Version:  3.2
 Severity:  normal         |  Resolution:  worksforme
 Keywords:                 |
---------------------------+-------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Replying to [ticket:19315 digitalnature]:
 > I know there aren't many situations in which you would want to modify
 your option within that validation callback because that's what that
 callback should do in the first place, but they do exist :)

 I don't think they do. Feel free to reopen this with an example, though.

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


More information about the wp-trac mailing list