[wp-trac] [WordPress Trac] #12706: Custom post status bugs in the admin

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 4 15:31:32 UTC 2010

#12706: Custom post status bugs in the admin
 Reporter:  ptahdunbar      |       Owner:  ptahdunbar 
     Type:  task (blessed)  |      Status:  new        
 Priority:  normal          |   Milestone:  3.1        
Component:  Post Types      |     Version:             
 Severity:  normal          |    Keywords:  needs-patch

Comment(by kevinB):

 Replying to [comment:20 kevinB]:
 > Replying to [comment:19 ptahdunbar]:
 > > The post_type param is required as your registering a post status to a
 post type. Defaulting to null means that the post status shouldn't
 > That breaks the API for plugins and themes which were written for WP
 3.0.  Why not make post_type part of the args array?  Then calling code
 can associate the status with all post types if the property is defaulted
 null or not set.

 By calling code, I mean consumers of the resulting status object.

Ticket URL: <http://core.trac.wordpress.org/ticket/12706#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list