[wp-trac] Re: [WordPress Trac] #4108: comments awaiting moderation sometimes not displayed

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 7 06:22:44 GMT 2007


#4108: comments awaiting moderation sometimes not displayed
-----------------------+----------------------------------------------------
 Reporter:  wnorris    |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.3      
Component:  General    |      Version:  2.1.3    
 Severity:  normal     |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by wnorris):

 Replying to [comment:2 foolswisdom]:
 > wnorris, it seems that {{{empty($comment_author)}}} should by the
 {{{if}}}, and your new code the {{{else if}}} because empty should be the
 most likely condition.

 actually that won't work, at least for the use case I have that led me to
 find this -- my [http://willnorris.com/2007/04/new-features-in-wpopenid
 openid plugin].  Imagine I make a comment with my OpenID and it goes into
 the moderation queue.  Because I authenticated with OpenID and very likely
 did not provide a name or email in the comment form, I would be displayed
 the already approved posts and be sent on my way, which is exactly what is
 happening now.  First it needs to check if I'm logged in... if so, then it
 should display my comments still awaiting moderation regardless of what
 cookies I may have on my machine... I've already authenticated and that
 should trump everything else.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4108#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list