Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#10920 closed defect (bug) (fixed)

Fix deprecated bookmark functions and documentation

Reported by: filosofo's profile filosofo Owned by: ryan's profile ryan
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.9
Component: Template Keywords: has-patch wp_get_linksbyname wp_get_links wp_list_bookmarks documentation early
Focuses: Cc:

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)

wp_get_links.deprecated.10920.diff (3.0 KB) - added by filosofo 16 years ago.

Download all attachments as: .zip

Change History (4)

#1 @ryan
16 years ago

  • Keywords early added
  • Milestone changed from 2.9 to 3.0

Looks good but punting to early 3.0.

#2 @nacin
16 years ago

Incorporated this in a patch in #7493.

#3 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12525]) Refresh deprecated bookmark functions. Props filosofo. fixes #10920

Note: See TracTickets for help on using tickets.