[wp-trac] [WordPress Trac] #16353: Allow element between li's but not after final element in wp_list_bookmarks
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 23 03:32:39 UTC 2011
#16353: Allow element between li's but not after final element in wp_list_bookmarks
-------------------------+-----------------------------
Reporter: in2thats12 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has_patch
-------------------------+-----------------------------
Many times when displaying a list, one wants a separator between the list
elements. Using the "after" arg would cause the separator to be
displayed after the last element also.
To this end, I added the "li_between" option to the _walk_bookmarks
function which places the contents of "li_between" after each list
element, but not after the final list element.
Patch attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16353>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list