[wp-trac] [WordPress Trac] #17091: Allow mt.getRecentPostTitles to return the post status
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 9 14:51:33 UTC 2011
#17091: Allow mt.getRecentPostTitles to return the post status
--------------------------+------------------------------
Reporter: daniloercoli | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.1
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by ericmann):
* keywords: mobile has-patch => has-patch
* component: General => XML-RPC
* severity: normal => minor
Comment:
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17091#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list