Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 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
7 years ago

  • Type changed from defect (bug) to enhancement

#2 @pfefferle
7 years ago

  • Version changed from 3.0.4 to 3.1

#3 @nacin
7 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
7 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.