[wp-trac] [WordPress Trac] #12706: Custom post status bugs in the admin
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 4 15:18:09 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 ptahdunbar):
Replying to [comment:18 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+
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
register.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12706#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list