[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 7 20:18:26 UTC 2012


#21512: Notice undefined variable $user when posting comment without cookies set
------------------------------------+------------------------------
 Reporter:  c3mdigital              |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Comments                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by nacin):

 Looks good. It's meant to be a truth check, so ! empty() is proper.

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


More information about the wp-trac mailing list