[wp-trac] [WordPress Trac] #29808: Post/paging navigation template tags
WordPress Trac
noreply at wordpress.org
Tue Dec 9 15:19:23 UTC 2014
#29808: Post/paging navigation template tags
-------------------------------------+-------------------------------------
Reporter: obenland | Owner: johnbillion
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.1
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: twenty-fifteen has- | Focuses: accessibility,
patch dev-feedback | template
-------------------------------------+-------------------------------------
Comment (by GaryJ):
Replying to [comment:67 obenland]:
> Replying to [comment:62 GaryJ]:
> > Now I've had chance to implement the new template tags, I think we
have problems with `get_the_pagination()`.
>
> Can you tell us where exactly you experienced the bug with steps to
reproduce?
If was on a Genesis Framework theme, but amounted to little more than
calling `the_pagination()` on the `genesis_after_endwhile` hook.
All other calls to `paginate_links()` that I could find in WP core all
pass in `total` and `current`. Looking at the code for that function, the
args are merged with the defaults, and if those values persist, then the
guard clause for `total` returns early, and the current page is set as
`1`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29808#comment:68>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list