[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 26 17:59:34 UTC 2011
#9674: Better support for custom post types
------------------------------------+-----------------------
Reporter: wnorris | Owner: ryan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Administration | Version: 3.1.3
Severity: normal | Resolution:
Keywords: has-patch tested early |
------------------------------------+-----------------------
Changes (by wlindley):
* cc: wlindley (added)
* status: closed => reopened
* version: 2.9 => 3.1.3
* resolution: fixed =>
Comment:
As of version 3.1.3, the post.diff patch has not taken effect; although
line 628 says:
{{{
* public - Whether posts of this status should be shown in the front end
of the site. Defaults to true.
}}}
lines 661-662 do not agree:
{{{
if ( null === $args->public )
$args->public = false;
}}}
Note that a default of '''false''' is assumed by the
register_post_status() calls on lines 88 through 142 in post.php. Either
the documentation, or the behavior plus those calls, needs to change.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:287>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list