[wp-hackers] comments_number() function renames first parameter

Tim Schoffelman tim at silentgap.com
Tue Nov 24 22:31:58 UTC 2009


Ok, Nevermind - it looks like Intense Debate was overriding my functions -
everyone can go about your business - thanks!


On Tue, Nov 24, 2009 at 4:22 PM, Tim Schoffelman <tim at silentgap.com> wrote:

> Also, I'm running the Intense Debate plugin (latest version), which now
> that I'm thinking about it, may be the issue - checking...
>
>
>
>
> On Tue, Nov 24, 2009 at 4:21 PM, Tim Schoffelman <tim at silentgap.com>wrote:
>
>> Hey Everyone,
>>
>> Running into a interesting situation to which I can't find any
>> documentation in the codex on it.
>>
>> I want to display the number of comments for each post using either the
>>
>> <?php comments_number(__('comment',"blogname"), __('1 comment',
>> "blogname"), __('% comments', "blogname")); ?>
>>
>> or the
>>
>> <?php comments_popup_link(__('comment', "blogname"), __('1 comment',
>> "blogname"), __('% comments', "blogname")); ?>
>>
>> functions.
>>
>> The problem is that when the page is loading it displays "comment" (which
>> I want) if I have zero comments, but one of the last things that it does is
>> right before it's finished loading the page, "comment" changes to "Comments
>> (0)". It doesn't matter if I take out the localization either.
>>
>> Also, I'm running WordPress MU 2.8.4a
>>
>> Any thoughts?
>>
>> Thanks!
>> Tim Schoffelman
>>
>
>


More information about the wp-hackers mailing list