WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 9 months ago

Last modified 9 months ago

#10869 closed enhancement (invalid)

Eliminate moderation on admin comments

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

Description

Currently, if comment moderation is enabled, comments left by the admin are also moderated, requiring approval before they're posted.

Proposed change: If comment moderation is activated, all replies and comments left by the admin are auto-approved.

Change History (3)

comment:1 Denis-de-Bernardy4 years ago

  • Milestone changed from Unassigned to Future Release

see also #11277

comment:2 westonruter9 months ago

  • Cc weston@… added
  • Keywords close added; comments moderation users approval removed
  • Resolution set to invalid
  • Status changed from new to closed

This is no longer valid. Comments are auto-approved in wp_allow_comment if the currently-logged in users have the moderate_comments capability, which admins obviously will have:

if ( isset( $user ) && ( $user_id == $post_author || $user->has_cap( 'moderate_comments' ) ) ) {
    // The author and the admins get respect.
    $approved = 1;
}

http://core.trac.wordpress.org/browser/tags/3.5.2/wp-includes/comment.php#L691

comment:3 helen9 months ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.