[wp-trac] [WordPress Trac] #21877: Disabling author field in comments makes "awaiting moderation" go away
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 21 03:41:17 UTC 2012
#21877: Disabling author field in comments makes "awaiting moderation" go away
--------------------------+------------------------------
Reporter: hakankpunkt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.4.1
Severity: normal | Resolution:
Keywords: close |
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: reporter-feedback => close
Comment:
Comments awaiting moderation are only displayed to their authors: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/comment-
template.php#L885
If comment author is logged in, then `$user_ID` is passed, and comments
from moderation queue are still displayed (since [5238]), regardless of
whether `'author'` field is disabled or not.
If comment author is not logged in and `'author'` field is disabled, then
`$comment_author` is empty, and comments from moderation queue are not
retrieved.
This sounds like expected behaviour, I don't see a bug here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21877#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list