[wp-trac] [WordPress Trac] #58889: Fix template parts mode check in site-editor.php
WordPress Trac
noreply at wordpress.org
Tue Jul 25 14:31:19 UTC 2023
#58889: Fix template parts mode check in site-editor.php
-------------------------------------------------+-------------------------
Reporter: Mamaduka | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-testing-info has-patch commit | Focuses:
dev-reviewed |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* owner: (none) => audrasjb
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"56302" 56302]:
{{{
#!CommitTicketReference repository="" revision="56302"
Editor: Fix conditionals in Template Editing Mode.
Previously, Site Editor client-side routing started using only the path
query argument for loading non-editor views. The router removed the
`postType` query
argument, which caused an error message to be displayed when the template
parts list page was reloaded.
This changeset fixes the issue as it was affecting hybrid themes.
Props Mamaduka, isabel_brison, ramonopoly.
Fixes #58889.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58889#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list