[wp-trac] [WordPress Trac] #23169: Introduce register_post_status_for_object_type
WordPress Trac
noreply at wordpress.org
Mon Jan 14 09:04:25 UTC 2013
#23169: Introduce register_post_status_for_object_type
----------------------------------------+------------------
Reporter: kovshenin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch editorial-flow |
----------------------------------------+------------------
Changes (by kovshenin):
* cc: kovshenin (added)
Comment:
Replying to [comment:5 SergeyBiryukov]: In [attachment:23169.patch] you
set the default post types to `post` and `page`, but there may be existing
plugins that rely on their registered post status to apply to all post
types, including custom post types. For backwards compatibility, I think
that if the post_type/object_type argument is omitted in
`register_post_status`, we should register for all post statuses, which
can also be tricky, because at the time of calling, some post types might
not be registered yet.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23169#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list