Opened 19 years ago
Closed 18 years ago
#2587 closed defect (bug) (fixed)
New template function: wp_list_bookmarks()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | bookmarks lists has-patch |
Focuses: | Cc: |
Description
wp_list_bookmarks() will replace get_links_list() and get_links(). By default, it should create a list of all bookmarks organized by category. We want to avoid the mistake of hard coding h2s and other formatting, so there should be options for specifying any formatting that should come before and after each category heading. wp_list_bookmarks() should also allow creating a big list of uncategorized bookmarks as well as listing bookmarks in a specific category or set of categories. A stub for wp_list_bookmarks() exists in template-functions-bookmarks.php along with some implementation notes. wp_list_bookmarks() should use get_bookmarks() for querying the DB.
Attachments (1)
Change History (12)
#5
@
19 years ago
- Owner changed from anonymous to westi
- Status changed from new to assigned
Quite a bit of the support code for this seems in good shape.
I'm working on finishing off coding wp_list_bookmarks against the requirements spec.
I'll upload a patch when I've got a bit more finished.
#6
@
19 years ago
- Keywords has-patch added
Attached patch implements the rest of wp_list_bookmarks I believe
#8
follow-up:
↓ 9
@
19 years ago
westi, ryan, is there still more to do for this bug? Or should it be closed?
#9
in reply to:
↑ 8
@
19 years ago
Replying to foolswisdom:
westi, ryan, is there still more to do for this bug? Or should it be closed?
I don't think this is complete yet.
I think we now need to move the deprecated functions to deprecated.php and implement them as calls to the new function.
I guess that is why ryan left the ticket open?
Question on this requirement--"as well as listing bookmarks in a specific category or set of categories".
If it's a 'set of categories' does that imply allowing something like 'category=1,4,7,9'? If yes, should get_bookmarks() be changed to handle that?