[wp-trac] [WordPress Trac] #24722: get_post_statuses() and get_page_statuses() are hardcoded
WordPress Trac
noreply at wordpress.org
Mon Jul 29 00:00:47 UTC 2013
#24722: get_post_statuses() and get_page_statuses() are hardcoded
----------------------------+-----------------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Post Types | Version:
Severity: minor | Resolution:
Keywords: editorial-flow |
----------------------------+-----------------------------
Comment (by nerrad):
See patch above. I didn't do the same thing for `get_page_statuses()`
because it looked like from the code that page statuses are supposed to be
a different list from post_statuses and currently there is no way to
filter the post status by post_type because post type is NOT considered in
registering post status.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24722#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list