[wp-trac] [WordPress Trac] #10920: Fix deprecated bookmark functions and documentation

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 6 18:52:49 UTC 2009


#10920: Fix deprecated bookmark functions and documentation
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan                                                                     
     Type:  defect (bug)  |      Status:  new                                                                      
 Priority:  normal        |   Milestone:  2.9                                                                      
Component:  Template      |     Version:  2.9                                                                      
 Severity:  normal        |    Keywords:  has-patch wp_get_linksbyname wp_get_links wp_list_bookmarks documentation
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10920>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list