Opened 17 years ago
Closed 17 years ago
#10920 closed defect (bug) (fixed)
Fix deprecated bookmark functions and documentation
| Reported by: | filosofo | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Template | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch wp_get_linksbyname wp_get_links wp_list_bookmarks documentation early |
| Cc: | Focuses: |
Description
Deprecated function wp_get_linksbyname() says to use and calls wp_get_links(), which is also deprecated.
wp_get_links() in turn calls deprecated get_links() and says to use get_bookmarks(), when wp_list_bookmarks() would be more appropriate.
Patch calls wp_list_bookmarks() in wp_get_linksbyname() and wp_get_links() and updates the deprecation notices and documentation.
For what it's worth, it also fixes the bug mentioned in #3714.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks good but punting to early 3.0.