[wp-trac] [WordPress Trac] #54507: Site Editor does not load when using "almost pretty" permalinks

WordPress Trac noreply at wordpress.org
Wed Dec 8 01:52:40 UTC 2021


#54507: Site Editor does not load when using "almost pretty" permalinks
--------------------------+-----------------------
 Reporter:  noisysocks    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  5.9
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by mkaz):

 I looked at it briefly and there might be a couple of ways to solve.

 The `is-fullscreen-mode` class is added to the body which hides the
 sidebar, if that class is added after the page loads than if it fails to
 load, the user will still have the standard /wp-admin/ sidebar. The
 drawback is the UI flashes during the load.

 I think another option would be to remove this class on a failure and the
 sidebar would show, at least giving the user a way to navigate elsewhere.

 Here's what that would look like:


 [[Image(https://cldup.com/NrfpEfTg2l.png)]]

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


More information about the wp-trac mailing list