[wp-trac] [WordPress Trac] #19559: wp_login_form + is_user_logged_in don't work anymore

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 15 04:29:53 UTC 2011


#19559: wp_login_form + is_user_logged_in don't work anymore
--------------------------+------------------------------
 Reporter:  Dukessa       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3
 Severity:  critical      |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by Dukessa):

 On the contrary, while ''is_user_logged_in'' doesnt do anything, this
 works perfectly:


 {{{
 $current_user = wp_get_current_user();
 if ( 0 == $current_user->ID ) {
 // do something
 }
 }}}

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


More information about the wp-trac mailing list