Make WordPress Core

Opened 15 years ago

Closed 12 years ago

#20048 closed enhancement (wontfix)

Allow mt.getRecentPostTitles to return the sticky flag

Reported by: daniloercoli Owned by:
Priority: normal Milestone:
Component: XML-RPC Version: 3.3.1
Severity: normal Keywords: mobile needs-patch
Cc: Focuses:

Description

Would be nice to return the value of the sticky flag in the mt.getRecentPostTitles response. This XML-RPC call is mostly used on mobile clients, and we need to show a visual indicator on "sticky" posts. Obviously, we can call metaWeblog.getRecentPosts, but it is a "more expensive" XML-RPC call.

Attachments (1)

20048.diff (622 bytes ) - added by soulseekah 13 years ago.

Download all attachments as: .zip

Change History (5)

@soulseekah
13 years ago

#1 @soulseekah
13 years ago

Sorry, wrong ticket, misread getRecentPostTitles vs. getRecentPosts. Moved to #26679

Last edited 13 years ago by SergeyBiryukov (previous) (diff)

#2 @SergeyBiryukov
13 years ago

  • Component GeneralXML-RPC

#3 @maxcutler
13 years ago

  • Cc maxcutler added

As with #26679, my recommendation is to instead just use wp.getPosts method instead. You can make it just as lightweight as mt.getRecentPostTitles by using the fields argument to limit the data returned.

#4 @markoheijnen
12 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

I agree with maxcutler here and you should go with wp.getPosts

Note: See TracTickets for help on using tickets.