WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8684 closed defect (bug) (fixed)

Contributor level users can delete all spam

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

Description

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

Attachments (3)

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

Download all attachments as: .zip

Change History (7)

@mrmist
10 years ago

edit-comments patch for 2.7

@mrmist
10 years ago

patch for edit-comments against trunk

@mrmist
10 years ago

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

#1 @mrmist
10 years ago

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

#2 @westi
10 years ago

  • Cc westi added

#3 @ryan
10 years ago

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

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

#4 @ryan
10 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.