[wp-trac] [WordPress Trac] #23168: Introduce remove_post_status

WordPress Trac noreply at wordpress.org
Thu Jan 10 20:08:29 UTC 2013


#23168: Introduce remove_post_status
----------------------------------------+------------------
 Reporter:  kovshenin                   |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  3.6
Component:  General                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch editorial-flow  |
----------------------------------------+------------------

Comment (by nacin):

 Removing core post statuses, for core post types, is likely going to be
 very prone to breakage, which is why we have yet to introduce an
 unregistration for taxonomies or post types.

 A better way to approach this is to segment post statuses against
 individual post types. Really, you probably shouldn't be able to remove a
 post status at all, only remove it for individual post types. Should post
 statuses even be shared against a post type? That can cause problems when
 you might want certain behavior for "active" on one type but different
 behavior for another type. Worse when two plugins both want an "active"
 status for their own post types — as they should be allowed to do.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23168#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list