[wp-trac] [WordPress Trac] #59440: WP_Comments_List_Table bulk actions do not account for user permissions.

WordPress Trac noreply at wordpress.org
Wed Feb 26 23:48:44 UTC 2025


#59440: WP_Comments_List_Table bulk actions do not account for user permissions.
-------------------------------------------------+-------------------------
 Reporter:  snicco                               |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8
Component:  Comments                             |     Version:  6.3.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:  ui,
  tests has-testing-info                         |  administration
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59877" 59877]:
 {{{
 #!CommitTicketReference repository="" revision="59877"
 Comments: Remove bulk action dropdown depending on user caps.

 This changeset adds a conditional to show the comments bulk actions
 dropdown only when the current user has `moderate_comments` capability.

 Props snicco, iflairwebtechnologies, shanemuir, audrasjb.
 Fixes #59440.
 }}}

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


More information about the wp-trac mailing list