[wp-trac] [WordPress Trac] #17805: "Child of a child" Theme: Convert include(functions.php) to include_once().

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 14 23:08:12 UTC 2011


#17805: "Child of a child" Theme: Convert include(functions.php) to include_once().
--------------------------+-----------------------------
 Reporter:  5ubliminal    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.2
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 After some trickery, I managed to get child of a child themes working.
 Unfortunately bumped into a problem.

 The '''wp-settings.php''' ''include(functions.php)'' breaks the whole
 thing as, in the first "child", you need to manually include the parent's
 ''functions.php'' when you use the "child of child" (2nd child).

 I added a patch, seriously needs your attention or better child of child
 theme support, recursive location or master parent and reverse order
 functions.php inclusion.

 Thanks.

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


More information about the wp-trac mailing list