Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#22133 closed defect (bug) (invalid)

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

Reported by: mrroundhill's profile mrroundhill Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: XML-RPC Keywords: has-patch
Focuses: 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 13 years ago.

Download all attachments as: .zip

Change History (4)

#1 follow-up: @nacin
13 years ago

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

#2 in reply to: ↑ 1 @mrroundhill
13 years 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.

#3 @SergeyBiryukov
13 years ago

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