[wp-trac] Re: [WordPress Trac] #4916: comment_type function doesn't return the comment type string

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 6 09:37:33 GMT 2007


#4916: comment_type function doesn't return the comment type string
-----------------------+----------------------------------------------------
 Reporter:  hudatoriq  |        Owner:  hudatoriq
     Type:  defect     |       Status:  closed   
 Priority:  normal     |    Milestone:           
Component:  General    |      Version:  2.3      
 Severity:  normal     |   Resolution:  invalid  
 Keywords:  comment    |  
-----------------------+----------------------------------------------------
Changes (by westi):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.4 (next) =>

Comment:

 Then use {{{get_comment_type}}} in general all simple WordPress template
 tags come in two forms:

  1. One which echo's - e.g. the_title
  2. One which returns - e.g. get_the_title

 Marking as INVALID as get_comment_type provides what you need.

 http://trac.wordpress.org/browser/trunk/wp-includes/comment-
 template.php#L201

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


More information about the wp-trac mailing list