Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#16247 closed enhancement (invalid)

"custom comment types" won't be displayed (twentyten)

Reported by: pfefferle Owned by:
Priority: normal Milestone:
Component: Themes Version: 3.1
Severity: normal Keywords:
Cc:

Description

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;

Change History (4)

  • Type changed from defect (bug) to enhancement
  • Version changed from 3.0.4 to 3.1
  • Keywords comment custom type removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Core doesn't support custom comment types. I don't see a reason for Twenty Ten to do so.

I thought that's why "get_avatar_comment_types" was added: http://core.trac.wordpress.org/ticket/11880

Note: See TracTickets for help on using tickets.