Make WordPress Core

Opened 12 years ago

Closed 9 years ago

Last modified 9 years ago

#20026 closed enhancement (fixed)

Adding a post_type filter in wp.getComments

Reported by: nprasath002's profile nprasath002 Owned by: westi's profile westi
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords: has-patch needs-unit-tests needs-refresh
Focuses: Cc:


This will be usefull when with the new custom post type support in XMLRPC

Attachments (1)

wp.getComments.patch (1.5 KB) - added by nprasath002 12 years ago.
post_type filter

Download all attachments as: .zip

Change History (10)

12 years ago

post_type filter

#1 @nacin
12 years ago

  • Milestone changed from Awaiting Review to 3.4
  • Owner set to westi
  • Status changed from new to reviewing


#2 @westi
12 years ago

  • Keywords needs-unit-tests 3.5-early westi-likes added

Before we add this we need unit-tests for wp_getComments.

Moving to 3.5-early for now and adding needs-unit-tests.

#3 @westi
12 years ago

  • Milestone changed from 3.4 to Future Release

#4 @johnbillion
12 years ago

Same issue for the admin UI: #18596

#6 @jkudish
12 years ago

  • Cc joachim.kudish@… added

#7 @chriscct7
9 years ago

  • Keywords needs-refresh added; 3.5-early westi-likes removed

#8 @wonderboymusic
9 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 34575:

XML-RPC: In wp_xmlrpc_server::wp_getComments(), allow post_type to be passed as part of $struct.

Props nprasath002.
Fixes #20026.

#9 @netweb
9 years ago

  • Milestone changed from Future Release to 4.4
Note: See TracTickets for help on using tickets.