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

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


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