[wp-trac] [WordPress Trac] #12421: wp_list_bookmarks fails when orderby parameter is a comma separated list.

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 29 07:52:57 UTC 2010


#12421: wp_list_bookmarks fails when orderby parameter is a comma separated list.
--------------------------+-------------------------------------------------
 Reporter:  vtxyzzy       |       Owner:  sorich87 
     Type:  defect (bug)  |      Status:  accepted 
 Priority:  normal        |   Milestone:  3.0      
Component:  Template      |     Version:  2.9.1    
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by scribu):

 sorich87, welcome :)

 You should initialise your variables, to avoid NOTICEs.

 wp_list_bookmarks_patch.2.patch adds a trim() to avoid unexpected results.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12421#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list