Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#5441 closed defect (bug) (invalid)

function get_links_list - order problem

Reported by: lutsiv's profile lutsiv Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.1
Component: General Keywords:
Focuses: Cc:

Description

Hello guys, I found a small problem in get_links_list function.

Wordpress version: 2.3.1
Filename: wp-includes\deprecated.php
Line: 672

// Call get_links() with all the appropriate params
get_links($cat->term_id, '<li>', "</li>", "\n", true, 'name', false);

Parameter "order" in this function call is always set to 'name' (doesn't matter what order you have passed before)

It has to be replaced with variable "$order":

// Call get_links() with all the appropriate params
get_links($cat->term_id, '<li>', "</li>", "\n", true, $order, false);

Thanks ;)

Change History (1)

#1 @lloydbudd
17 years ago

  • Milestone 2.5 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Closing as invalid, because it's already a deprecated function. Use wp_list_bookmarks

Note: See TracTickets for help on using tickets.