[wp-trac] [WordPress Trac] #55752: site-editor.php query params disappear

WordPress Trac noreply at wordpress.org
Tue May 17 21:54:35 UTC 2022


#55752: site-editor.php query params disappear
--------------------------+---------------------
 Reporter:  grantmkin     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.0
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 6.0


Old description:

> The Site editor supports adding query params, like `styles=open` to open
> the the Global Styles panel when the editor is loaded. These params are
> disappearing.
>
> It looks like the changes in
> https://core.trac.wordpress.org/changeset/53093 might be the cause. cc
> @gziolo
>
> To reproduce
>
> - Visit `/wp-admin/site-editor.php`, close the sidebar to set its state
> to closed
> - Visit `/wp-admin/site-editor.php?styles=open`
>
> Expected
>
> -  The Global Styles panel is open
>
> Actual
>
> - The Global styles panel does not open

New description:

 The Site editor supports adding query params, like `styles=open` to open
 the the Global Styles panel when the editor is loaded. These params are
 disappearing.

 It looks like the changes in [53093] might be the cause. cc @gziolo

 To reproduce

 - Visit `/wp-admin/site-editor.php`, close the sidebar to set its state to
 closed
 - Visit `/wp-admin/site-editor.php?styles=open`

 Expected

 -  The Global Styles panel is open

 Actual

 - The Global styles panel does not open

--

Comment:

 Hi there, welcome back to WordPress Trac! Thanks for the ticket.

 Moving to the milestone for visibility.

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


More information about the wp-trac mailing list