[wp-trac] [WordPress Trac] #43019: Hook to validate post form data before save
WordPress Trac
noreply at wordpress.org
Fri Jan 5 18:43:08 UTC 2018
#43019: Hook to validate post form data before save
-------------------------------------------------+-------------------------
Reporter: henry.wright | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: General | Review
Severity: normal | Version:
Keywords: has-patch ux-feedback needs-testing | Resolution:
| Focuses:
-------------------------------------------------+-------------------------
Comment (by henry.wright):
Thanks John for the feedback.
The user journey isn't very good with my patch 43019.2.diff. They will see
the generic error message you mentioned. I think the patch could be
fleshed out to allow the callback to return a custom error message.
I believe currently the field data is lost if it's invalid. I think this
should also be changed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43019#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list