[wp-hackers] Add Post Statuses?

Mike Schinkel mikeschinkel at newclarity.net
Sat Mar 27 09:50:38 UTC 2010


Thanks. 

(I was about to say your just previous suggestion was a chicken-or-egg problem. :-)

So I guess this is the ticket that addresses this issue?  http://core.trac.wordpress.org/ticket/12567

-Mike

On Mar 27, 2010, at 5:31 AM, scribu wrote:

> Oh, and I don't think the quick editor or the publish metabox have
> support for custom post statuses yet.
> 
> On 3/27/10, scribu <scribu at gmail.com> wrote:
>> You need to have at least one post with that status for the filter
>> link to appear.
>> 
>> On 3/27/10, Mike Schinkel <mikeschinkel at newclarity.net> wrote:
>>> I'm trying to figure out how to add a new post status in wp3.0.  I run
>>> register_post_status() and it enables querying for that post type:
>>> 
>>> register_post_status(
>>> 	'hidden',
>>> 	array(
>>> 		'label' => _x('Hidden', 'post'),
>>> 		'public' => true,
>>> 		'label_count' => _n_noop('Hidden <span class="count">(%s)</span>',
>>> 'Hidden
>>> <span class="count">(%s)</span>')
>>> 	)
>>> );
>>> 
>>> ...however when I go to a post or page editor in the admin the "Hidden"
>>> status does not show up.  Clearly I need to do something else.  Can
>>> anyone
>>> suggest what that would be?
>>> 
>>> Thanks in advance.
>>> 
>>> -Mike
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>> 
>> 
>> 
>> --
>> http://scribu.net
>> 
> 
> 
> -- 
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list