Make WordPress Core

Opened 4 years ago

Closed 12 months ago

Last modified 10 months ago

#57432 closed defect (bug) (worksforme)

Edit comments capability issue

Reported by: AitThemes Owned by:
Priority: normal Milestone:
Component: Comments Version:
Severity: normal Keywords: close
Cc: Focuses:

Description

If the user does not have capability to edit comments, the checkbox for Discussion - Allow comments disappears. This will store the null value into database and cause comments form as not visible.

Change History (7)

#1 @audrasjb
4 years ago

  • Component General → Comments
  • Keywords needs-patch added
  • Version 6.1.1

Hello @AitThemes and welcome to WordPress Core Trac!

This sounds like a valid issue, thanks for pointing it out.

Choosing to display the comments/comment form shouldn't be related to the user's capability to edit comments.

This ticket was mentioned in ​Slack in #core-test by ironprogrammer. ​View the logs.


4 years ago

#3 @ironprogrammer
4 years ago

  • Keywords needs-testing-info added

It would be great if this report included steps to reproduce, so I'm marking with needs-testing-info.

@AitThemes, would you be able to provide additional details on the user roles involved, whether they are default WordPress roles, and if there are any plugins or themes that may impact this functionality? (Here is a ​test report template you might use for reference.)

#4 @studionashvegas
4 years ago

Attempted to reproduce this ticket running the WordPress Trunk environment (Fresh Install):

1) Create a user with contributor role (the lowest role with access to edit a post)
2) Created a new post with minimal content.
*) Both options in Discussions are visible
3) Published Post
4) Edited Post as Contributor User
*) Both options in Discussions are visible

User Role Editor shows that I have 0 permissions enabled regarding comments, but I'm still able to see the options in the Post Editor.

Sorry, I'm unable to reproduce this.

#5 @wordpressdotorg
17 months ago

  • Keywords needs-test-info added; needs-testing-info removed

#6 @Presskopp
12 months ago

  • Keywords close added; needs-patch needs-test-info removed
  • Resolution → worksforme
  • Status new → closed

No progress here, closing.

#7 @swissspidy
10 months ago

  • Milestone Awaiting Review

Removing milestone from closed ticket.

Note: See TracTickets for help on using tickets.