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

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 22 06:39:18 UTC 2011


#19315: sanitize_option callback in register_setting()
---------------------------+------------------------------
 Reporter:  digitalnature  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Validation     |     Version:  3.2
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by sirzooro):

 Try to return old value from sanitization callback instead of calling
 `update_option()` in it - should be enough.

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


More information about the wp-trac mailing list