[wp-trac] [WordPress Trac] #9015: New theme for 3.0 -- Twenty Ten

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 14 02:15:45 UTC 2010


#9015: New theme for 3.0 -- Twenty Ten
----------------------------+-----------------------------------------------
 Reporter:  dd32            |       Owner:     
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.0
Component:  Themes          |     Version:     
 Severity:  normal          |    Keywords:     
----------------------------+-----------------------------------------------

Comment(by sivel):

 Replying to [comment:91 filosofo]:
 > Better would be to make such functions methods of a theme-specific
 object, and then filter the name of the class that gets instantiated.
 Then a child theme could extend its parent class as necessary.

 I honestly think that may be a step in the wrong direction.  A few of us
 have briefly discussed this on IRC and feel this would add an extra layer
 of complexity and raise the minimum bar of knowledge to override these
 functions.  I'd rather keep it simple to give new theme developers or
 those developers who don't have strong PHP backgrounds the ability to
 easily modify and extend this theme.

 Don't get me wrong though, I love the idea.  And perhaps if this were not
 a bundled theme or a theme to give a starting point with, I would be all
 over it.

 I'm starting on a patch to wrap all of the functions in function_exists
 and also renaming several of the functions to prefix with twentyten.

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


More information about the wp-trac mailing list