WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 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:

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)

comment:1 ocean903 years ago

  • Type changed from defect (bug) to enhancement

comment:2 pfefferle3 years ago

  • Version changed from 3.0.4 to 3.1

comment:3 nacin3 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.

comment:4 pfefferle3 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.