[wp-trac] [WordPress Trac] #5441: function get_links_list - order
problem
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 8 20:12:20 GMT 2007
#5441: function get_links_list - order problem
---------------------+------------------------------------------------------
Reporter: lutsiv | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version: 2.3.1
Severity: normal | Keywords:
---------------------+------------------------------------------------------
Hello guys, I found a small problem in '''get_links_list''' function.
Wordpress version: 2.3.1[[BR]]
Filename: wp-includes\deprecated.php[[BR]]
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 ;)
--
Ticket URL: <http://trac.wordpress.org/ticket/5441>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list