[wp-testers] Re: Parameter issue?
Ryan Boren
ryan at boren.nu
Sat Nov 25 17:39:44 GMT 2006
Yosemite wrote:
>
>> Message: 4
>> Date: Fri, 24 Nov 2006 19:18:52 -0700
>> From: Craig <nuclearmoose at gmail.com>
>> Subject: [wp-testers] Parameter issue?
>> To: wp-testers at lists.automattic.com
>> Message-ID: <5aa3aa0611241818q4b380e83t7564516f7209313 at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> I have a theme with the following code in the sidebar.php file:
>>
>> <?php get_links('-1', '<li>', '</li>', '', 0, 'name', 0, 0, -1, 0); ?>
>>
>> I want it to NOT display link descriptions, so I change it to this:
>>
>> <?php get_links('-1', '<li>', '</li>', '', 0, 'name', FALSE, 0, 0, -1,
>> 0);
>> ?>
>>
>> The result is that my blogroll does not show up at all. Is this due to
>> code
>> changes in 2.1 Alpha 3 or is it because I simply don't know what the hell
>> I'm doing? :)
>>
>> Craig.
>>
>>
> get_links() deprecated in 2.1. Use wp_list_bookmarks().
get_links() should still work properly. There are a bazillion themes
using it. I'll give it a look.
Ryan
More information about the wp-testers
mailing list