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

WordPress Trac noreply at wordpress.org
Tue Nov 9 16:22:29 UTC 2021


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

Comment (by desrosj):

 Is there any reason why my PR above would not fix the issue?

 It does not take into account parent/child themes, but I don't know if I'm
 missing something.

 If a child theme does not have a `theme.json` file, it will be `false`,
 and if it does and the parent does not, it will be `true`. I think that
 would be OK though?

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


More information about the wp-trac mailing list