Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#46642 new defect (bug)

Comment form content textarea shouldn't be a required field

Reported by: bckelley's profile bckelley Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.1
Component: Comments Keywords: has-patch 2nd-opinion
Focuses: Cc:

Description

there's a note on the top of the comment form that states: " Required fields are marked " and the comment <textarea> is marked required but not marked with an "*"

Attachments (3)

comment-interface.jpg (65.1 KB) - added by bckelley 5 years ago.
comment-code.JPG (40.3 KB) - added by bckelley 5 years ago.
46642.diff (1.0 KB) - added by mukesh27 5 years ago.
Patch that remove required attribute from comment textarea

Download all attachments as: .zip

Change History (5)

@bckelley
5 years ago

#1 @mukesh27
5 years ago

  • Component changed from General to Comments
  • Keywords has-patch 2nd-opinion added; needs-patch removed

@bckelley, Good catch. It's core software bug for comment form.

Default comment form textarea(comment) field is not required field to submit any comments so we needs to remove that attribute from comment textarea field to fix this issue.

Also added 2nd-opinion for core developer feedback.

@mukesh27
5 years ago

Patch that remove required attribute from comment textarea

#2 @valentinbora
5 years ago

  • Summary changed from comment form to Comment form content textarea shouldn't be a required field
Note: See TracTickets for help on using tickets.