[wp-trac] Re: [WordPress Trac] #4991: Edit post post_type should actually be the post_type

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 2 19:22:46 GMT 2008


#4991: Edit post post_type should actually be the post_type
--------------------------------------+-------------------------------------
 Reporter:  filosofo                  |        Owner:  anonymous
     Type:  defect                    |       Status:  closed   
 Priority:  normal                    |    Milestone:  2.5      
Component:  General                   |      Version:  2.3      
 Severity:  normal                    |   Resolution:  fixed    
 Keywords:  post_type edit has-patch  |  
--------------------------------------+-------------------------------------
Comment (by ryan):

 Changed it up a little to user get_default_post_to_edit() and
 get_default_page_to_edit() to set the default post_type and post_status.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4991#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list