close
Skip to content

Admin bar: Edit site link should open the current template #37850

@carolinan

Description

@carolinan

Description

Often when I use the "Edit site" link in the WordPress admin bar, it is because I want to edit the current template.
This can be a post/page or an archive (they should all work the same).

Instead, the link opens the index/home/front-page, and I have to find a way to navigate to the template I wanted to edit.

Step-by-step reproduction instructions

With a full site editing theme active:

  1. Login.
  2. Navigate to an archive page.
  3. Click on the edit site link in the WordPress admin bar.
  4. See that the home page opens, not the page you were viewing.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Labels

[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Priority] HighUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intended[Type] FeedbackIssues that relate purely to feedback on a feature that isn't necessarily actionable

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions