[wp-trac] [WordPress Trac] #29808: Post/paging navigation template tags

WordPress Trac noreply at wordpress.org
Wed Oct 22 16:06:29 UTC 2014


#29808: Post/paging navigation template tags
--------------------------------------------------+-----------------------
 Reporter:  obenland                              |       Owner:
     Type:  enhancement                           |      Status:  new
 Priority:  normal                                |   Milestone:  4.1
Component:  Themes                                |     Version:  trunk
 Severity:  normal                                |  Resolution:
 Keywords:  2nd-opinion twenty-fifteen has-patch  |     Focuses:  template
--------------------------------------------------+-----------------------

Comment (by DrewAPicture):

 [attachment:29808.3.diff] looks much better, thanks. Couple more things :)

 * Missing the return descriptions for `get_the_post_navigation()`,
 `get_the_paging_navigation()`, `get_the_pagination()`, and
 `_navigation_markup()`.

 I think I missed these before, but anytime you have a template tag
 wrapping its corresponding `get_` variation, you only need to document the
 defaults once (in the getter).

 So just as you referenced the args defined in `get_the_pagination()` for
 `the_pagination()`, you would do the same thing for
 `get_|the_post_navigation()`, and `get_|the_paging_navigation()`.

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


More information about the wp-trac mailing list