#58889 closed defect (bug) (fixed)
Fix template parts mode check in site-editor.php
| Reported by: | Mamaduka | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Editor | Version: | 6.3 |
| Severity: | normal | Keywords: | has-test-info has-patch commit dev-reviewed fixed-major |
| Cc: | Focuses: |
Description
Recently Site Editor client-side routing started using only the path query argument for loading non-editor views.
The router removes the postType query argument, which causes an error message to be displayed when you reload the template parts list page.
- Activate a theme that enables block-based template parts - https://github.com/Mamaduka/block-fragments or https://github.com/WordPress/gutenberg/tree/trunk/test/gutenberg-test-themes/emptyhybrid.
- Visit the new Appearance > Template Parts menu.
- Reload the page.
- Notice that "The theme you are currently using is not compatible with the Site Editor." message is displayed.
Change History (13)
This ticket was mentioned in PR #4893 on WordPress/wordpress-develop by @Mamaduka.
3 years ago
#1
- Keywords has-patch added
@isabel_brison commented on PR #4893:
3 years ago
#2
Hey @Mamaduka is this PR meant for WP 6.3?
@Mamaduka commented on PR #4893:
3 years ago
#3
@tellthemachines, I think we should land this in 6.3; otherwise, we'll have annoying regression for hybrid themes.
#5
@
3 years ago
- Keywords commit added
PR4893 seems ready for commit.
Also approving this for backport to branch 6.3.
@audrasjb commented on PR #4893:
3 years ago
#10
Committed in https://core.trac.wordpress.org/ticket/58889
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/58889