Make WordPress Core

Opened 17 years ago

Closed 13 years ago

Last modified 13 years ago

#10869 closed enhancement (invalid)

Eliminate moderation on admin comments

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

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)

#1 @Denis-de-Bernardy
17 years ago

  • Milestone Unassigned → Future Release

see also #11277

#2 @westonruter
13 years ago

  • Cc weston@… added
  • Keywords close added; comments moderation users approval removed
  • Resolution → invalid
  • Status new → 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

#3 @helen
13 years ago

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