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

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 14 01:54:43 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):

 I'd like to see all of the functions in the functions.php wrapped in a
 function_exists.  Child themes functions.php is included before the
 functions.php of the parent theme.  Wrapping the functions inside of this
 file in a function_exists would give an easy way to override the functions
 just as we do with pluggable.php

 Just wanted to run this by everyone for their feedback before actually
 getting a patch together.  If we do this some of the code that lives
 outside of a function, might want to be wrapped into a function that is
 called on init or something.

 Questions, comments or concerns?

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


More information about the wp-trac mailing list