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

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 16 11:19:47 UTC 2011


#12706: Custom post status bugs in the admin
---------------------------------------------+-----------------------------
 Reporter:  ptahdunbar                       |       Owner:  ptahdunbar
     Type:  feature request                  |      Status:  new
 Priority:  normal                           |   Milestone:  Future Release
Component:  Post Types                       |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch westi-likes 3.4-early  |
---------------------------------------------+-----------------------------

Comment (by sirzooro):

 Please also add new function `post_status_exists( $post_status )` -
 sometimes it may be handy to check if particular post status is
 registered. You can also add 2nd param `$post_type`, to check if post
 status exists for given post type (optional param, defaults to all post
 types).

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


More information about the wp-trac mailing list