WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#20026 closed enhancement (fixed)

Adding a post_type filter in wp.getComments

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

Description

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 6 years ago.
post_type filter

Download all attachments as: .zip

Change History (10)

@nprasath002
6 years ago

post_type filter

#1 @nacin
6 years ago

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

3.4?

#2 @westi
6 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
6 years ago

  • Milestone changed from 3.4 to Future Release

#4 @johnbillion
6 years ago

Same issue for the admin UI: #18596

#6 @jkudish
6 years ago

  • Cc joachim.kudish@… added

#7 @chriscct7
3 years ago

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

#8 @wonderboymusic
3 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
3 years ago

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