[wp-trac] [WordPress Trac] #57105: Enhance wp_handle_comment_submission() with a custom validation

WordPress Trac noreply at wordpress.org
Mon Nov 14 14:43:39 UTC 2022


#57105: Enhance wp_handle_comment_submission() with a custom validation
-------------------------+------------------------------
 Reporter:  apermo       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by apermo):

 Note:

 `! isset( $comment_data['privacy-consent'] ) ||``

 Can be removed from both the example above and the patch, since it is
 redundant.

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


More information about the wp-trac mailing list