Make WordPress Core

Opened 6 years ago

Closed 3 weeks ago

Last modified 2 weeks ago

#46642 closed defect (bug) (duplicate)

Comment form content textarea shouldn't be a required field

Reported by: bckelley's profile bckelley Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: Comments Keywords: has-patch
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 (4)

comment-interface.jpg (65.1 KB) - added by bckelley 6 years ago.
comment-code.JPG (40.3 KB) - added by bckelley 6 years ago.
46642.diff (1.0 KB) - added by mukesh27 6 years ago.
Patch that remove required attribute from comment textarea
wp-trac-46642.png (53.4 KB) - added by mindctrl 3 weeks ago.
Screenshot showing the asterisk next to the comment textarea

Download all attachments as: .zip

Change History (8)

@bckelley
6 years ago

#1 @mukesh27
6 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
6 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

@mindctrl
3 weeks ago

Screenshot showing the asterisk next to the comment textarea

#3 @mindctrl
3 weeks ago

  • Keywords 2nd-opinion removed
  • Resolution set to worksforme
  • Status changed from new to closed

Hi all,

It seems this was fixed, or was perhaps an issue with a specific theme? I've checked a few themes and see the asterisk is there for the comment textarea. Since this doesn't seem to be a bug currently and it's been years since any activity, I'm going to close this ticket to help clean up Trac. Feel free to reopen if you think there's a bug in WordPress that should be fixed.

#4 @peterwilsoncc
2 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution changed from worksforme to duplicate
  • Version 5.1 deleted

This was resolved in r52029 for #16206.

I'll modify the closed status of this ticket to be a duplicate of the earlier issue.

Note: See TracTickets for help on using tickets.