[wp-trac] Re: [WordPress Trac] #2536: posts_nav_link inserts $sep too often

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 7 21:42:33 GMT 2006


#2536: posts_nav_link inserts $sep too often
----------------------------+-----------------------------------------------
       Id:  2536            |      Status:  assigned                
Component:  Administration  |    Modified:  Tue Mar  7 21:42:33 2006
 Severity:  normal          |   Milestone:                          
 Priority:  normal          |     Version:  2.0.1                   
    Owner:  davidhouse      |    Reporter:  Reuben                  
----------------------------+-----------------------------------------------
Comment (by davidhouse):

 Patch attached, which:

  * Fixes the bug for both paging by dates and posts.
  * Refactors post_nav_link() and friends to use less globals.
  * Makes paging by dates smart enough to know what the maximum number of
 days is.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2536>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list