[wp-trac] [WordPress Trac] #10867: next_post_link() and previous_post_link() should be allowed in the loop, even if is_single()
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 5 22:12:18 UTC 2010
#10867: next_post_link() and previous_post_link() should be allowed in the loop,
even if is_single()
-----------------------------------+----------------------------------------
Reporter: jobjorn | Owner:
Type: enhancement | Status: reopened
Priority: low | Milestone: 3.0
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+----------------------------------------
Comment(by ryan):
This also causes two pointless queries for every page because
adjacent_posts_rel_link() is hooked to wp_head. Attached patch solves that
given the current code.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10867#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list