#1064 closed defect (bug) (fixed)
Use next_posts_link() and previous_posts_link() instead of posts_nav_link() in default theme.
Reported by: | ryan | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5 |
Component: | Optimization | Keywords: | |
Focuses: | Cc: |
Description
The default theme uses posts_nav_link() in an inefficient way. It makes two calls to posts_nav_link() and discards one of the two directions each time. This results in two "next" calls and two "previous" calls being made when only one call is necessary. Using separate next_posts_link() and previous_posts_link() calls would be more efficient.
Change History (3)
Note: See
TracTickets for help on using
tickets.
http://trac.wordpress.org/changeset/2423