[wp-trac] Re: [WordPress Trac] #10067: theme_basename() not using get_theme_root()

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 8 10:42:59 GMT 2009


#10067: theme_basename() not using get_theme_root()
--------------------------+-------------------------------------------------
 Reporter:  bforchhammer  |       Owner:                       
     Type:  defect (bug)  |      Status:  new                  
 Priority:  normal        |   Milestone:  2.9                  
Component:  Themes        |     Version:  2.8                  
 Severity:  normal        |    Keywords:  has-patch 2nd-opinion
--------------------------+-------------------------------------------------

Comment(by bforchhammer):

 Right, it was used when the function was added in [/changeset/10835
 c10835] but then the function call was reverted to the use of `basename()`
 in [/changeset/10951 c10951] with the commit message "Page templates
 should be relative to the theme ir, not the themes dir".

 I vote for "with theme folder". And if only to prevent further confusion
 ;-)

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


More information about the wp-trac mailing list