[wp-trac] [WordPress Trac] #5654: Add echo parameter to wp_get_archives

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 13 00:03:42 GMT 2008


#5654: Add echo parameter to wp_get_archives
---------------------------+------------------------------------------------
 Reporter:  danielsummers  |       Owner:  anonymous
     Type:  enhancement    |      Status:  new      
 Priority:  normal         |   Milestone:  2.5      
Component:  General        |     Version:  2.5      
 Severity:  minor          |    Keywords:           
---------------------------+------------------------------------------------
 I have modified the wp_get_archives template tag to add the echo
 parameter, similar to the way wp_get_categories works.  This will allow
 for manipulation of the results.  (I made this change to support a tiered
 archives, with a year at one level and the months below.  Allowing me to
 retrieve the text lets me put the tree together.)  Since I had to change
 it, I thought I would submit it, to see if it would be useful to put it
 into the core.  I've attached a diff - the change was made against the
 2.3.2 released version of general-template.php.

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


More information about the wp-trac mailing list