[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
Wed Mar 19 21:24:40 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 ethitter):
Replying to [comment:33 obenland]:
> Currently sticky posts aren't excluded which causes adjacent posts to be
sticky posts mostly. See [attachment:26937.8.patch].
Right, my original implementation missed the `ignore_sticky_posts` query
option. Nacin's patch, which my latest patch incorporates, includes it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26937#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list