[wp-testers] 2.1b2: Quirk with wp_get_links

Joefish joefish.testers at feastofcrumbs.com
Wed Jan 10 15:37:30 GMT 2007


I'm using wp_get_links to retrieve my blogroll for the sidebar, like so:

wp_get_links('category=49&before=<li>&after=</li>&between=&show_images=false&orderby=rand&show_description=false');


This was working swimmingly in 2.1b1, but in beta 2 "show_images" and
"show_description" don't work the same. The "false" values are ignored
and the default "true" is used instead. I can get the desired behavior
by passing no value, like so:

wp_get_links('category=49&before=<li>&after=</li>&between=&show_images=&orderby=rand&show_description=');


It doesn't seem like that's by design. Those parameters should be only
true/false, right? Can anyone else replicate this, or is it just me?


More information about the wp-testers mailing list