[wp-trac] [WordPress Trac] #17302: Add get_previous_post_link(), get_next_post_link(), and get_adjacent_post_link()

WordPress Trac noreply at wordpress.org
Tue Sep 10 22:11:54 UTC 2013


#17302: Add get_previous_post_link(), get_next_post_link(), and
get_adjacent_post_link()
-------------------------+---------------------
 Reporter:  yoavf        |       Owner:  westi
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.7
Component:  Template     |     Version:  3.1
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by wonderboymusic):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25327"]:
 {{{
 #!CommitTicketReference repository="" revision="25327"
 Introduce `get_previous_post_link()`, `get_next_post_link()`, and
 `get_adjacent_post_link()`. Allows developers to retrieve the value
 without `echo`ing.

 Props yoavf, markjaquith, SergeyBiryukov.
 Fixes #17302.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/17302#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list