WordPress.org

Make WordPress Core

Opened 17 months ago

Last modified 7 months ago

#46642 new defect (bug)

Comment form content textarea shouldn't be a required field

Reported by: 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 17 months ago.
comment-code.JPG (40.3 KB) - added by bckelley 17 months ago.
46642.diff (1.0 KB) - added by mukesh27 17 months ago.
Patch that remove required attribute from comment textarea

Download all attachments as: .zip

Change History (5)

#1 @mukesh27
17 months 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
17 months ago

Patch that remove required attribute from comment textarea

#2 @valentinbora
7 months 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.