[wp-trac] [WordPress Trac] #57416: Do not split query if requesting one post
WordPress Trac
noreply at wordpress.org
Wed Feb 4 17:04:11 UTC 2026
#57416: Do not split query if requesting one post
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner:
| spacedmonkey
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Query | Version: 3.0
Severity: normal | Resolution:
Keywords: good-first-bug has-patch dev- | Focuses:
feedback has-unit-tests needs-refresh | performance
-------------------------------------------------+-------------------------
Changes (by huzaifaalmesbah):
* keywords: good-first-bug has-patch dev-feedback needs-testing has-unit-
tests => good-first-bug has-patch dev-feedback has-unit-tests needs-
refresh
Comment:
I attempted to apply the PR patch from https://github.com/WordPress
/wordpress-develop/pull/7025 against current trunk (7.0-alpha), but it
does not apply cleanly.
The patch fails in `src/wp-includes/class-wp-query.php` (.rej file
generated), so testing isn’t currently possible.
Marking this as `needs-refresh`. Removing `needs-testing` until a
refreshed patch/PR is provided.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57416#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list