[wp-trac] Re: [WordPress Trac] #3110: wp_get_archives not working properly on daily view

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 6 19:45:50 GMT 2006


#3110: wp_get_archives not working properly on daily view
------------------------------------------+---------------------------------
 Reporter:  RuddO                         |        Owner:  westi   
     Type:  defect                        |       Status:  assigned
 Priority:  normal                        |    Milestone:  2.1     
Component:  Template                      |      Version:  2.0.4   
 Severity:  normal                        |   Resolution:          
 Keywords:  wp_get_archives bg|has-patch  |  
------------------------------------------+---------------------------------
Changes (by westi):

  * keywords:  wp_get_archives => wp_get_archives bg|has-patch

Comment:

 Attached patch fixes wp_get_archives to show_post_count correctly for all
 archive types except postbypost for which is seems pointless (it will
 always be 1)

 I also tidyed up the code a bit and removed some unecessary duplication.

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


More information about the wp-trac mailing list