[wp-trac] [WordPress Trac] #18372: Undefined user object in pluggable.php throws php notices when debugging is turned on...

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 10 19:52:10 UTC 2011


#18372: Undefined user object in pluggable.php throws php notices when debugging is
turned on...
--------------------------+------------------------------
 Reporter:  MarcusPope    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Looks like `isset()` will always return true. Wouldn't `empty()` be more
 appropriate?

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


More information about the wp-trac mailing list