WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#22133 closed defect (bug) (invalid)

XML-RPC: wp.getPage Should Return the Page Thumbnail ID (Featured Image)

Reported by: mrroundhill Owned by:
Priority: normal Milestone:
Component: XML-RPC Version: 3.5
Severity: normal Keywords: has-patch
Cc:

Description

The wp.getPage call should return the page thumbnail ID since pages appear to support Featured Images.

I'm attaching a patch that adds support for this.

Attachments (1)

class-wp-xmlrpc-server.php.diff (661 bytes) - added by mrroundhill 8 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 follow-up: nacin8 months ago

wp.getPage should be considered deprecated in favor of wp.getPost, which I believe would return this data.

comment:2 in reply to: ↑ 1 mrroundhill8 months ago

  • Resolution set to invalid
  • Status changed from new to closed

Replying to nacin:

wp.getPage should be considered deprecated in favor of wp.getPost, which I believe would return this data.

Oh, right I forgot this was deprecated. I'll close this and we'll use metaWeblog.getPost in the apps to get the page thumbnail for now while we wait for 3.4 adoption to increase, at which time we'll use wp.getPost.

comment:3 SergeyBiryukov8 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.