[wp-trac] [WordPress Trac] #26937: get_adjacent_post() should use WP_Query rather than build its own SQL query
WordPress Trac
noreply at wordpress.org
Thu Mar 13 23:14:19 UTC 2014
#26937: get_adjacent_post() should use WP_Query rather than build its own SQL query
-------------------------+-----------------------
Reporter: ethitter | Owner: nacin
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.9
Component: Query | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------
Comment (by nacin):
[attachment:26937.2.diff] reduces the number of queries to what they were
in 3.8. It should also fix sticky post issues, though that is untested.
* Still need to investigate if there are any additional issues for posts
published at the same time, or something else triggering looping etc.
* Still need to investigate filter BC, per kovshenin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26937#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list