Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15555 closed feature request (maybelater)

get_comments() lack support and custom post types

Reported by: hakre's profile hakre Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: reporter-feedback
Focuses: Cc:


Custom Post Types have comments support, but comment (e.g. via get_comments()) does not have support for custom post types.

Change History (3)

#1 @scribu
14 years ago

  • Keywords reporter-feedback added

What exactly do you mean by support? I was able to use get_comments() with CPTs just fine.

#2 @hakre
14 years ago

I mean something like get_comments( post_type='cpt' )

#3 @nacin
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

We don't touch the posts table in get_comments(). No need or desire for this -- can be done in a plugin.

Note: See TracTickets for help on using tickets.