Opened 15 years ago
Closed 15 years ago
#17091 closed enhancement (fixed)
Allow mt.getRecentPostTitles to return the post status
| Reported by: | daniloercoli | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | XML-RPC | Version: | 3.1 |
| Severity: | minor | Keywords: | has-patch mobile dev-feedback |
| Cc: | Focuses: |
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)
#2
@
15 years ago
- Keywords mobile added
- Milestone Awaiting Review → 3.2
Hey Eric, the mobile team is using the mobile keyword to track tickets on report {42}.
#5
@
15 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
My first instinct was to disagree with you because I assumed
getRecentPostTitlesonly 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.