[wp-trac] [WordPress Trac] #14720: get_bloginfo code, with get_template_* and get_stylesheet_*

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 28 10:52:31 UTC 2010


#14720: get_bloginfo code, with get_template_* and get_stylesheet_*
--------------------------+-------------------------------------------------
 Reporter:  Frumph        |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:  close          
--------------------------+-------------------------------------------------

Comment(by Frumph):

 My suggestion then is renaming the functions get_template_directory() and
 get_template_directory_uri() and get_stylesheet_directory() and
 get_stylesheet_directory_uri() since each counterpart gives a different
 return value, the naming convention makes bloginfo's naming convention of
 its variables counter-productive.

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


More information about the wp-trac mailing list