Opened 14 years ago
Closed 14 years ago
#17091 closed enhancement (fixed)
Allow mt.getRecentPostTitles to return the post status
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | minor | Version: | 3.1 |
Component: | XML-RPC | Keywords: | has-patch mobile dev-feedback |
Focuses: | Cc: |
Description
Could be useful to have the post status field within the response of mt.getRecentPostTitles.
This XML-RPC call is used especially on mobile clients, but if we want add a visual indicator that shows the post status we should call the metaWeblog.getRecentPosts that is a more expensive call.
Attachments (1)
Change History (8)
#1
@
14 years ago
- Component changed from General to XML-RPC
- Keywords mobile removed
- Severity changed from normal to minor
#2
@
14 years ago
- Keywords mobile added
- Milestone changed from Awaiting Review to 3.2
Hey Eric, the mobile team is using the mobile keyword to track tickets on report {42}.
#5
@
14 years ago
- Keywords dev-feedback added
I'm fine with this change and tested it, works fine. I'm going to put this on my list of potential XML-RPC tickets for WP 3.2 (which I'll be posting on wpdevel).
Note: See
TracTickets for help on using
tickets.
My first instinct was to disagree with you because I assumed
getRecentPostTitles
only retrieved published posts. Looking at the code, it does indeed return drafts as well, so there should be some distinction between the two.So long as adding a return value doesn't break existing third-party solutions, I see no problem with this. The patch looks sound as well.