[wp-trac] [WordPress Trac] #17198: New theme for 3.next -- TwentyEleven

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 27 00:06:58 UTC 2011


#17198: New theme for 3.next -- TwentyEleven
-------------------------+------------------
 Reporter:  matt         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.2
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by greenshady):

 Can we set a `default` case for the `switch` statement in the
 `twentyeleven_comment()` function?  It would be as simple as moving the
 first check down to the bottom and changing the `case` to:

 {{{
 default :
 }}}

 Currently, this function handles the `comment`, `trackback`, and
 `pingback` comment types.  All other comment types are skipped.  By
 default, WordPress core functionality handles custom comment types just
 fine.

 This is also an issue in the TwentyTen theme and now many, many themes
 being submitted to the theme repository because so many theme authors just
 copy/paste code from the default WordPress theme.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17198#comment:48>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list