[wp-trac] Re: [WordPress Trac] #8169: Recent comments for
unpublished posts showing at the sidebar
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 12 09:48:27 GMT 2008
#8169: Recent comments for unpublished posts showing at the sidebar
-------------------------+--------------------------------------------------
Reporter: mberasategi | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: Comments | Version:
Severity: major | Resolution:
Keywords: comments, |
-------------------------+--------------------------------------------------
Comment (by Viper007Bond):
Why do you have comments on an unpublished post?
The recent comments widget merely shows the latest approved, non-spam
comments in the database. Since a post received a comment, it is assumed
that the comment has been published.
Checking to see if the post has actually be posted or not would require an
extra query per displayed comment (as we'd have to query the parent post)
and in 99.9999% of cases, it wouldn't be needed.
Recommend wontfix.
--
Ticket URL: <http://trac.wordpress.org/ticket/8169#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list