[wp-trac] [WordPress Trac] #24088: Update get_users_drafts() to support custom post types
WordPress Trac
noreply at wordpress.org
Fri Feb 21 01:29:34 UTC 2014
#24088: Update get_users_drafts() to support custom post types
--------------------------+------------------------------
Reporter: navjotjsingh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.5.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by mordauk):
It seems very strange to me that this function only returns the `ID` and
`post_title` fields instead of standard post objects.
The function isn't actually used anywhere in core, so perhaps we should
leave it exactly as is but add a `$post_type` parameter to the function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24088#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list