[wp-hackers] Separating Pings from Comments in WordPress 2.7

Ryan Boren ryan at boren.nu
Mon Oct 6 18:41:03 GMT 2008


On Mon, Oct 6, 2008 at 10:58 AM, Matthew Martz <matt at sivel.net> wrote:
> Thanks for the tip Ryan!  I seemed to have overlooked the significance
> of the callback argument.  I have updated the how to with this and
> removed the foreach loop.

http://trac.wordpress.org/attachment/ticket/7635/separate_comments.diff

That adds a separate_comments flag to comments_template().  If the
flag is true, comments_template() will setup comments_by_type.  Seem
helpful?  Anything else we should add in?  Maybe counts for each type?


More information about the wp-hackers mailing list