[wp-trac] [WordPress Trac] #2556: Theme's functions.php needs to be include_once()'d

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 11 11:41:35 GMT 2006


#2556: Theme's functions.php needs to be include_once()'d
----------------------------+-----------------------------------------------
       Id:  2556            |      Status:  new                     
Component:  Administration  |    Modified:  Sat Mar 11 11:41:35 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.0.1                   
    Owner:  anonymous       |    Reporter:  markjaquith             
----------------------------+-----------------------------------------------
 Before WP 2.0 came out, people were already bundling functions.php with
 some of their themes, and including it at the top of header.php or
 something like that.  They get function redefined errors in WP 2.x because
 WP calls functions.php automatically.

 WP should include_once() the theme's functions.php file to avoid this.

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


More information about the wp-trac mailing list