From 785060ffe1237e74dc7f093f7865f93b826941a8 Mon Sep 17 00:00:00 2001 From: Lance Willett 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: https://develop.svn.wordpress.org/trunk@17722 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 2b35f01191..77d794f9f6 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 ) {
    - -
  • -