[wp-trac] [WordPress Trac] #57141: WP_Theme cannot locate a parent block theme

WordPress Trac noreply at wordpress.org
Fri Nov 18 04:02:53 UTC 2022


#57141: WP_Theme cannot locate a parent block theme
--------------------------+-----------------------------
 Reporter:  dd32          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 As reported here: https://github.com/WordPress/gutenberg/issues/45811
 after a discussion in slack:
 https://wordpress.slack.com/archives/C02QB8GMM/p1668569269811889

 On wp-themes.com we're running into a use-case where the Parent theme
 cannot be located when both the parent and child theme are block themes,
 and the parent does not have an index.php file.

 [insert screenshot]

 This appears to work on some installations, but not on others. I believe
 it working might be down to caching, I haven't figured that out.

 The attached PR updates the code in WP_Theme to support the same theme
 files as supported via [53416] for themes in parent themes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57141>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list