[wp-trac] [WordPress Trac] #57128: Customizer shows link to site editor when previewing themes

WordPress Trac noreply at wordpress.org
Wed Nov 16 12:22:30 UTC 2022


#57128: Customizer shows link to site editor when previewing themes
--------------------------+-----------------------------
 Reporter:  dsas          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  6.1.1
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 #54878 removes the link to the customer from the theme installer in some
 cases, and #57127 will cover another, but if a user navigates directly to
 the customizer with a theme get var then they still get a confusing
 experience.

 Repro steps:
  1. Activate a block theme e.g. twenty twenty-three
  2. Install an additional block theme but don't activate it
  2. Go to /wp-admin/customize.php?theme=loudness (where loudness is the
 slug of the installed but inactive block theme)
  3. Notice you are previewing the second, inactive theme.
  4. Get a notice saying 'Hurray! Your theme supports site editing with
 blocks. Tell me more. [ Use Site Editor]'
  5. Click Use Site Editor (goes to /wp-admin/site-
 editor.php?postType=wp_template&postId=twentytwentythree%2F%2Fhome)
  6. You will be editing the active theme and not the theme you were
 previewing

 I expected to be editing the theme I was previewing.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57128>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list