[wp-trac] [WordPress Trac] #6718: Theme defined in a constant at the beginning of the script

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 14 10:32:00 GMT 2008


#6718: Theme defined in a constant at the beginning of the script
--------------------------+-------------------------------------------------
 Reporter:  kazdam        |       Owner:  anonymous                             
     Type:  defect        |      Status:  new                                   
 Priority:  normal        |   Milestone:  2.7                                   
Component:  Optimization  |     Version:                                        
 Severity:  normal        |    Keywords:  plugin development theme constant path
--------------------------+-------------------------------------------------
 In every version of wordpress, the theme path is defined in a constant,
 which is defined at the all beginning of the script.

 This is disallowing plugins developers to modify the theme used in an
 extension if some others datas are requires (like the post id) are
 required to get the current theme.

 It might be a good idea to define it later, at least after defining the
 $post var.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6718>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list