[wp-trac] [WordPress Trac] #12006: Comment template functions should accept optional comment ID argument.

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 25 17:27:54 UTC 2010


#12006: Comment template functions should accept optional comment ID argument.
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan              
     Type:  defect (bug)  |      Status:  new               
 Priority:  normal        |   Milestone:  3.0               
Component:  Comments      |     Version:  3.0               
 Severity:  normal        |    Keywords:  comments has-patch
--------------------------+-------------------------------------------------

Comment(by filosofo):

 Replying to [comment:1 ryan]:
 > Since get_comment() returns the global comment if passed on empty ID,
 can we lose the empty() ternaries?

 Absolutely.  Second patch drops ternaries.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12006#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list