[wp-trac] [WordPress Trac] #14609: is_user_logged_in() always returns false
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 13 15:43:33 UTC 2010
#14609: is_user_logged_in() always returns false
--------------------------+-------------------------------------------------
Reporter: FolioVision | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
In WP 3.0.1, is_user_logged_in() always returns false.
Can be easily fixed just by changing line 749 from "if ( $user->id == 0 )"
to "if ( $user->ID == 0 )".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14609>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list