[wp-trac] [WordPress Trac] #11474: Add validation error reporting system to Settings API

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 17 17:53:10 UTC 2010


#11474: Add validation error reporting system to Settings API
----------------------------+-----------------------------------------------
 Reporter:  jeremyclarke    |       Owner:  jeremyclarke           
     Type:  enhancement     |      Status:  new                    
 Priority:  high            |   Milestone:  3.0                    
Component:  Administration  |     Version:  2.9                    
 Severity:  normal          |    Keywords:  has-patch needs-testing
----------------------------+-----------------------------------------------

Comment(by ryan):

 Fixed some warnings and added a function_exists check on the call to
 add_settings_error in sanitize_option.  add_settings_error is defined in
 wp-admin/includes but is being called from a function in wp-includes.  One
 warning remains. add_settings_error references $title, which is not
 defined anywhere. $id is defined by not used.  I wasn't sure of the intent
 so I marked the line with an @todo and left it as is.

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


More information about the wp-trac mailing list