[wp-trac] [WordPress Trac] #11215: Improve naming of child/parent theme functions

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 26 12:52:34 UTC 2009


#11215: Improve naming of child/parent theme functions
----------------------------+-----------------------------------------------
 Reporter:  westi           |       Owner:  westi
     Type:  task (blessed)  |      Status:  new  
 Priority:  normal          |   Milestone:  3.0  
Component:  Themes          |     Version:  2.9  
 Severity:  normal          |    Keywords:       
----------------------------+-----------------------------------------------

Comment(by hakre):

 I looked into this a bit more. The naming for theme/template/stylesheet
 related sutff are more simple/consistent than I first thought:

  1. theme (see ''current_theme'' options, example: {{{"WordPress
 Classic"}}})
  2. template (see ''template'' option, example: {{{"classic"}}}, the
 actual string based identifier for ''1.) theme'' .)
  3. stylesheet (see ''stylesheet'' option, example: {{{"classic"}}}, for a
 definition what a stylesheet is, please see function get_stylesheet(),
 Quote: ''"the template name and the stylesheet name are going to be the
 same for most cases"'')

 So I wonder where actually the reporter sees confusing function names. It
 would be good to name those so that a fix can be provided. I see the
 problem here that we only think function names are mixed up, infact they
 are not. The terms child/parent -theme might be new but the concept is
 not, right?

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


More information about the wp-trac mailing list