#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)
#2
@
13 years ago
- Cc 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
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
see also #11277