Opened 2 years ago
Last modified 20 months ago
#57128 new defect (bug)
Customizer shows link to site editor when previewing themes
Reported by: | dsas | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | minor | Version: | 5.9.3 |
Component: | Customize | Keywords: | needs-design needs-patch |
Focuses: | Cc: |
Description
#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:
- Activate a block theme e.g. twenty twenty-three
- Install an additional block theme but don't activate it
- Go to /wp-admin/customize.php?theme=loudness (where loudness is the slug of the installed but inactive block theme)
- Notice you are previewing the second, inactive theme.
- Get a notice saying 'Hurray! Your theme supports site editing with blocks. Tell me more. [ Use Site Editor]'
- Click Use Site Editor (goes to /wp-admin/site-editor.php?postType=wp_template&postId=twentytwentythree%2F%2Fhome)
- You will be editing the active theme and not the theme you were previewing
I expected to be editing the theme I was previewing.
Attachments (2)
Change History (9)
#2
@
2 years ago
- Version changed from 6.1.1 to 5.9
Updating the Version
property to 5.9.3 when this notice was introduced in [53024].
#4
@
2 years ago
@dsas
Great catch!
Thanks for reporting.
Hi @costdev,
I'd prefer to change the Site Editor notice (for block themes that aren't active).
Thanks.
#5
@
2 years ago
- Keywords needs-design added
- Milestone changed from Awaiting Review to 6.2
Working on this, here's what I have:
Message for active block themes
Hurray! Your theme supports site editing with blocks. Tell me more. [Use Site Editor]
Message for inactive block themes
Hurray! Your theme supports site editing with blocks. Tell me more. Activate your theme to customize your site in the Site Editor.
Just above this message is the Activate & Publish button, which is why I didn't include another button here.
However, upon clicking Activate & Publish, there is no way to go to the Site Editor from the screen.
- Attaching a screenshot of the message, and a GIF of the issue.
- Adding
needs-design
to get some help from the Design team.
Hi @dsas, thanks for opening this ticket!
Pinging @antonvlasenko.
As the Site Editor can only be used with the active theme, I see a few options:
Anton, I can have a patch ready for either of these quite quickly. Do you have a preference for one of the above options, or do you have any other ideas?