[wp-trac] [WordPress Trac] #20064: Editing a post of a non existing post type gives notices

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 27 19:32:33 UTC 2012


#20064: Editing a post of a non existing post type gives notices
--------------------------+---------------------
 Reporter:  markoheijnen  |       Owner:  duck_
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  3.4
Component:  Post Types    |     Version:  3.0
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [20623]:
 {{{
 #!CommitTicketReference repository="" revision="20623"
 Check that $post_type_object exists before accessing its properties. Props
 markoheijnen. Fixes #20064.
 }}}

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


More information about the wp-trac mailing list