[wp-trac] [WordPress Trac] #11504: PHP notices when publishing with QuickPress

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 16:08:55 UTC 2010

#11504: PHP notices when publishing with QuickPress
 Reporter:  caesarsgrunt      |       Owner:  westi                  
     Type:  defect (bug)      |      Status:  accepted               
 Priority:  normal            |   Milestone:  3.0                    
Component:  Warnings/Notices  |     Version:  2.9                    
 Severity:  normal            |    Keywords:  has-patch needs-testing

Comment(by Denis-de-Bernardy):

 @nacin: isn't it possible for $post_data[ID] to be set with a value of
 zero on drafts? I'd suggest !empty() instead of isset() for the checks
 when setting the post_id variable.

Ticket URL: <http://core.trac.wordpress.org/ticket/11504#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list