Make WordPress Core

Opened 15 years ago

Closed 11 years ago

Last modified 11 years ago

#20026 closed enhancement (fixed)

Adding a post_type filter in wp.getComments

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

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

Download all attachments as: .zip

Change History (10)

#1 @nacin
15 years ago

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

3.4?

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

  • Milestone 3.4 → Future Release

#4 @johnbillion
14 years ago

Same issue for the admin UI: #18596

#6 @jkudish
14 years ago

  • Cc joachim.kudish@… added

#7 @chriscct7
11 years ago

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

#8 @wonderboymusic
11 years ago

  • Resolution → fixed
  • Status reviewing → 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
11 years ago

  • Milestone Future Release → 4.4
Note: See TracTickets for help on using tickets.