Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#16247 closed enhancement (invalid)

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

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


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...
  case '' :
  default :
    some code...

Change History (4)

#1 @ocean90
5 years ago

  • Type changed from defect (bug) to enhancement

#2 @pfefferle
5 years ago

  • Version changed from 3.0.4 to 3.1

#3 @nacin
5 years ago

  • 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.

#4 @pfefferle
5 years ago

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.