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

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 23:41:23 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 hakre):

 I only set to NULL because that's the same value as if you read an unset
 variable by accident. So it does not change the behaviour compared to pre-
 patched. That's all, I know it's a bit akward.

 Just reviewed your patch, why have you removed the cast to int in front of
 {{{$post_data['user_ID'];}}} Line 40 / 43?

 Thanks for your review as well, I appreceate the feedback.

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


More information about the wp-trac mailing list