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

WordPress Trac noreply at wordpress.org
Tue Nov 9 09:57:06 UTC 2021


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

 * milestone:  Awaiting Review => 5.9


Comment:

 Worth noting that only define('CONCATENATE_SCRIPTS', false); fixes the
 issue on my side.

 Concerning the issue, we could either relocate `get_theme_file_path` and
 related functions into `theme.php`, or include `link-template.php` in
 `load-styles.php`. I'm testing both hypothesis right now.

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


More information about the wp-trac mailing list