[wp-trac] [WordPress Trac] #32618: Additional args for get_the_post_navigation()

WordPress Trac noreply at wordpress.org
Wed Sep 30 03:40:54 UTC 2015


#32618: Additional args for get_the_post_navigation()
--------------------------+---------------------------
 Reporter:  ChaseWiseman  |       Owner:  DrewAPicture
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Themes        |     Version:  4.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  template
--------------------------+---------------------------
Changes (by DrewAPicture):

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


Comment:

 In [changeset:"34715"]:
 {{{
 #!CommitTicketReference repository="" revision="34715"
 Themes: Introduce three new arguments for `get_the_post_navigation()`,
 `in_same_term`, `excluded_terms`, and `taxonomy`.

 The addition of these new arguments brings `get_the_post_navigation()`
 into argument parity with `get_previous_post_link()` and
 `get_next_post_link()`, both of which it wraps, and will allow for more
 flexibility in configuring the next and previous post links for
 simultaneous display in themes.

 Props ChaseWiseman.
 Fixes #32618.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32618#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list