[wp-trac] [WordPress Trac] #11474: Add validation error reporting system to Settings API
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 18 08:59:34 UTC 2009
#11474: Add validation error reporting system to Settings API
------------------------------+---------------------------------------------
Reporter: jeremyclarke | Owner: jeremyclarke
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.0
Component: Warnings/Notices | Version: 2.9
Severity: normal | Keywords: needs-patch
------------------------------+---------------------------------------------
Comment(by studiograsshopper):
Replying to [ticket:11474 jeremyclarke]:
I really like this, and agree that the Settings API needs an error
reporting system.
A question: what would happen if the user decides not to fix the cause of
the validation error immediately? Say, he/she goes off and does something
else, then navigates back to the plugin's settings page, for example after
the transient has expired. Would it be useful to automatically re-run the
register_setting() callback on page load? It seems to me desirable that
the error messages are persistent until the cause(s) of the error(s)
is(are) fixed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11474#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list