[wp-trac] [WordPress Trac] #21512: Notice undefined variable $user when posting comment without cookies set

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 14 19:07:58 UTC 2012


#21512: Notice undefined variable $user when posting comment without cookies set
--------------------------+---------------------
 Reporter:  c3mdigital    |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by ryan):

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


Comment:

 In [21506]:
 {{{
 #!CommitTicketReference repository="" revision="21506"
 Add isset() check to avoid notice. Props c3mdigital. fixes #21512
 }}}

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


More information about the wp-trac mailing list