From 963d908223cdb5bf6cbb3ad274737de4bb90cb1d Mon Sep 17 00:00:00 2001 From: lancewillett Date: Wed, 27 Apr 2011 04:38:36 +0000 Subject: [PATCH] Twenty Eleven: set default case for switch statement in the twentyeleven_comment(), props greenshady - see #17198 git-svn-id: http://svn.automattic.com/wordpress/trunk@17722 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/functions.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index 2b35f0119..77d794f9f 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -467,7 +467,14 @@ if ( ! function_exists( 'twentyeleven_comment' ) ) : function twentyeleven_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : - case '' : + case 'pingback' : + case 'trackback' : + ?> +
  • +

    +
  • id="li-comment-">
    @@ -506,13 +513,6 @@ function twentyeleven_comment( $comment, $args, $depth ) {
    - -
  • -