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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 4 14:25:11 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):

 Can we please default post_type to null?  This is the standard approach
 for everything except the query variable, making
 {{{
 ! empty ($status_obj->post_type)
 }}}
 sufficient to detect post_type customization in 3.0 and 3.1+

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


More information about the wp-trac mailing list