[wp-trac] [WordPress Trac] #56058: Backport bug fixes from Gutenberg into Core for WP 6.0.1
WordPress Trac
noreply at wordpress.org
Thu Jun 30 15:46:23 UTC 2022
#56058: Backport bug fixes from Gutenberg into Core for WP 6.0.1
-------------------------------------------------+-------------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.0.1
Component: Editor | Version: 6.0
Severity: normal | Resolution:
Keywords: has-patch has-testing-info needs- | Focuses:
screenshots |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"53593" 53593]:
{{{
#!CommitTicketReference repository="" revision="53593"
Editor: Ensure only the main query is modified when resolving template for
new posts.
This adds a check for the main query in `_resolve_template_for_new_post()`
to fix a 404 response when resolving template for new posts or pages
caused by the wrong query being modified.
Original PR from Gutenberg repository:
* [https://github.com/WordPress/gutenberg/pull/40799 #40799: Ensure only
the main query is modified when resolving template for new posts]
Follow-up to [52316].
Props petitphp, zieladam, poena, ndiego, gziolo, kebbet, Mamaduka,
manfcarlo.
See #56058.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56058#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list