[wp-trac] [WordPress Trac] #16247: "custom comment types" won't be displayed (twentyten)

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 15 19:41:46 UTC 2011


#16247: "custom comment types" won't be displayed (twentyten)
--------------------------+---------------------------------
 Reporter:  pfefferle     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.0.4
 Severity:  normal        |   Keywords:  comment custom type
--------------------------+---------------------------------
 twentyten only supports the comment-types "", "pingback" and "trackback"
 any other type won't be displayed!

 rearranging the switch/cases should fix the problem:

 {{{
   switch ( $comment->comment_type ) :
   case 'pingback'  :
   case 'trackback' :
     some code...
     break;
   case '' :
   default :
     some code...
     break;
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16247>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list