[wp-trac] [WordPress Trac] #54544: fatal error when entering the site editor after updating to 5.9-beta1

WordPress Trac noreply at wordpress.org
Fri Dec 3 15:40:25 UTC 2021


#54544: fatal error when entering the site editor after updating to 5.9-beta1
-------------------------------+---------------------
 Reporter:  pbiron             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  5.9
Component:  Editor             |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+---------------------

Comment (by mkaz):

 Attached diff resolves two issues with the route not being found when a
 period is in the theme name.

 However, I'm still seeing an issue with the Site Editor not loading. The
 global styles get_item() request  gets called twice when loading the Site
 Editor and one of the calls has an empty post so the check fails.

 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes
 /rest-api/endpoints/class-wp-rest-global-styles-controller.php#L119

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


More information about the wp-trac mailing list