[wp-trac] [WordPress Trac] #47728: Comment's form displaying validation message on the same page instead of directing user to new page & displaying errors.

WordPress Trac noreply at wordpress.org
Thu Jul 18 07:24:52 UTC 2019


#47728: Comment's form displaying validation message on the same page instead of
directing user to new page & displaying errors.
-------------------------------+------------------------------
 Reporter:  AkSDvP             |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Comments           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by pento):

 * keywords:   => reporter-feedback


Comment:

 Thank you for the bug report, @AkSDvP!

 `comment_form()` adds the `required` attribute to the `<input>` fields, so
 your browser should show a warning when they're not filled out.

 Are you able to reproduce this lack of client-side warning on a site using
 a default theme, and no plugins?

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


More information about the wp-trac mailing list