Skip to content

The Library page in Hybrid Themes that support Template Parts has a broken homepage preview #51295

@aurooba

Description

@aurooba

Description

This is a similar issue to what we saw in the 6.2 beta, #48391, and it's reproducible again in 6.2.2 – I'm not sure if it came back in 6.2.1, but it was fixed and confirmed fixed when the initial 6.2 release happened. I just noticed it again.

Step-by-step reproduction instructions

  1. Activate a classic theme with theme.json and support for block template parts that includes at least one block template part. (happy to provide an example theme if needed)
  2. Go to Appearance > Template Parts
  3. Click on the back button for All Template Parts
  4. See the loading screen where the homepage should be – this page shouldn't exist for hybrid themes, from my understanding, it should go straight back to the dashboard.

Screenshots, screen recording, code snippet

Without Gutenberg

Screen.Recording.2023-06-07.at.6.56.00.AM.mov

With Gutenberg 15.9.1

Screen.Recording.2023-06-07.at.7.08.18.AM.mov

Environment info

  • WordPress 6.2.2
  • Tested with AND without Gutenberg 15.9.1

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

Assignees

No one assigned

    Labels

    [Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Feature] Templates APIRelated to API powering block template functionality in the Site Editor[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions