[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:48:38 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:"53594" 53594]:
{{{
#!CommitTicketReference repository="" revision="53594"
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.
Merges [53593] to the 6.0 branch.
See #56058.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56058#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list