[wp-trac] [WordPress Trac] #24722: get_post_statuses() and get_page_statuses() are hardcoded
WordPress Trac
noreply at wordpress.org
Tue Sep 15 03:30:26 UTC 2015
#24722: get_post_statuses() and get_page_statuses() are hardcoded
-------------------------------------+-----------------------------
Reporter: rmccue | Owner: chriscct7
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------------
Changes (by wonderboymusic):
* milestone: 4.4 => Future Release
Comment:
[attachment:24722.diff 24722.diff] returns a map of non-internal statuses,
but I'm not sure how useful this is. Without being able to associate
object types to statuses, this is a very incomplete API.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24722#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list