#10869 closed enhancement (invalid)
Eliminate moderation on admin comments
| Reported by: |
|
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)
#2
@
13 years 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
Note: See
TracTickets for help on using
tickets.
see also #11277