[wp-trac] [WordPress Trac] #37100: Comment Section

WordPress Trac noreply at wordpress.org
Thu Jun 16 02:53:05 UTC 2016


#37100: Comment Section
-------------------------------------+------------------------------
 Reporter:  tejas.acquaintsoft       |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Comments                 |     Version:  4.5.2
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |     Focuses:
-------------------------------------+------------------------------
Changes (by rachelbaker):

 * keywords:   => reporter-feedback close


Comment:

 @tejas.acquaintsoft
 Howdy, and welcome to Trac!  As of WordPress 4.5 the comment form inputs
 include additional HTML5 validation attributes (see #10377).

 As is often the case in WordPress core development, implementing this
 suggestion initially appears much more straightforward than reality.

 I am open to using JavaScript to validate the comment form data, but is
 there a "one-size-fits-all" solution that fits the needs of every
 WordPress site?
 How would you propose displaying the validation errors within the comment
 form?
 What parameters would you use for validation?

 The good news is: theme developers are able to create customized inline
 validation for their comment forms using JavaScript (or the jQuery library
 if desired).

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


More information about the wp-trac mailing list