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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 7 14:54:56 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 foolswisdom):

 Very good point. I guess I subscribe to the school of do what is most
 likely put first. Based on what you wrote, then the first condition should
 still be {{{empty($comment_author)}}} but be changed to
 {{{empty($comment_author) && !$user_ID}}}. I don't think that is over
 optimization b/c currently ~90% of visiters don't comment (or have a
 login), maybe that will change with the adoption of OpenID (but not soon).

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


More information about the wp-trac mailing list