[wp-trac] [WordPress Trac] #43019: Hook to validate post form data before save

WordPress Trac noreply at wordpress.org
Thu Aug 13 12:02:45 UTC 2020


#43019: Hook to validate post form data before save
-------------------------------------+------------------------------
 Reporter:  henry.wright             |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by eseyfried):

 I am having the same challenge as @henrywright. I was looking for a
 similar hook that fires before the post saves and would allow me to halt
 the save process if my custom validation fails. This patch seems to cover
 this scenario. I am curious to know if this will be accepted into Core.
 This thread seemed to have died off. Would someone please post an update?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43019#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list