[wp-trac] [WordPress Trac] #4969: Make wp_list_* functions all behave similarly...

WordPress Trac noreply at wordpress.org
Sun Jan 10 12:52:10 UTC 2016


#4969: Make wp_list_* functions all behave similarly...
----------------------------------------+-----------------------------
 Reporter:  pishmishy                   |       Owner:
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  Future Release
Component:  Themes                      |     Version:  2.3
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  template
----------------------------------------+-----------------------------

Comment (by igmoweb):

 Here's a refreshed patch.

 There are some differences with the old one though.

 - wp_get_archives does not include a list_before and list_after arguments.
 IMO is easier to use a HTML wrapper instead of passing more arguments to
 the function. Easier to read too.
 - wp_list_categories has changed a lot during time and it would need a
 different approach.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/4969#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list