Ticket #8684 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 3 years ago

Contributor level users can delete all spam

Reported by: mrmist Owned by: anonymous
Priority: normal Milestone: 2.7.1
Component: General Version: 2.7
Severity: normal Keywords: has-patch
Cc: westi

Description

Attached patch for edit-comments removes button and imposes a check against moderate-spam. (For 2.7)

Attachments

edit-comments.diff Download (1.3 KB) - added by mrmist 3 years ago.
edit-comments patch for 2.7
trunk-edit-comments.diff Download (1.4 KB) - added by mrmist 3 years ago.
patch for edit-comments against trunk
menu.diff Download (980 bytes) - added by mrmist 3 years ago.
menu.php patch against trunk - check for moderate comments cap

Change History

mrmist3 years ago

edit-comments patch for 2.7

mrmist3 years ago

patch for edit-comments against trunk

mrmist3 years ago

menu.php patch against trunk - check for moderate comments cap

Additonal patch for menu.php (trunk and 2.7) to change the capability check for the "comments" menu from edit posts to moderate comments, which is probably more appropriate. ref  http://wordpress.org/support/topic/227284?replies=4

  • Cc westi added

comment:3   ryan3 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [10263]) Show 'Delete All Spam' only if can moderate_comments. Props mrmist. fixes #8684 for trunk

comment:4   ryan3 years ago

(In [10264]) Show 'Delete All Spam' only if can moderate_comments. Props mrmist. fixes #8684 for 2.7

Note: See TracTickets for help on using tickets.