[wp-trac] [WordPress Trac] #22515: Child theme installation not installing parent (regression)

WordPress Trac noreply at wordpress.org
Wed Nov 21 04:36:35 UTC 2012


#22515: Child theme installation not installing parent (regression)
-----------------------------+--------------------
 Reporter:  Otto42           |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  high             |   Milestone:  3.4.3
Component:  Upgrade/Install  |     Version:
 Severity:  major            |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------

Comment (by SergeyBiryukov):

 Works in [20267], broken literally 10 minutes later in [20268].

 If parent theme doesn't exist yet, `WP_Theme` constructor bails in line
 256, before `$this->parent` is set: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/class-wp-
 theme.php#L241

 `check_parent_theme_filter()` then bails in line 683 due to
 `$theme_info->parent()` being empty: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.4.2/wp-admin/includes/class-
 wp-upgrader.php#L678

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


More information about the wp-trac mailing list