[wp-trac] [WordPress Trac] #15041: Page auto-draft & guid generation

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 19 15:00:39 UTC 2010


#15041: Page auto-draft & guid generation
-------------------------------------+-----------------------
 Reporter:  shawnparker              |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  highest omg bbq          |   Milestone:  3.1
Component:  Permalinks               |     Version:  3.0.1
 Severity:  critical                 |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------
Changes (by TobiasBg):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 For [17061]: The check for
 {{{
 isset($post->post_status)
 }}}
 in line 192 comes after $post->post_status has already been used to create
 $draft_or_pending in line 188, which is to late to avaid notices.

 Thus, the check should be part of the $draft_or_pending conditional in
 line 188.

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


More information about the wp-trac mailing list