[wp-trac] [WordPress Trac] #54401: Fix fatal error in /wp-admin/load-styles.php

WordPress Trac noreply at wordpress.org
Tue Nov 16 14:56:58 UTC 2021


#54401: Fix fatal error in /wp-admin/load-styles.php
------------------------------+----------------------
 Reporter:  Mamaduka          |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  highest omg bbq   |   Milestone:  5.9
Component:  Themes            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------

Comment (by desrosj):

 In [changeset:"52181" 52181]:
 {{{
 #!CommitTicketReference repository="" revision="52181"
 Themes: Check both parent and child themes for a `theme.json` file.

 This updates `WP_Theme_JSON_Resolver::theme_has_support()` to properly
 check for a `theme.json` file in both parent and child themes when
 determining whether a theme supports block templates.

 Follow up to [52077].

 Props Mamaduka.
 Fixes #54401.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54401#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list