[wp-trac] [WordPress Trac] #11395: make is_user_logged_in() return the $user's ID instead of true

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 11:52:30 UTC 2009


#11395: make is_user_logged_in() return the $user's ID instead of true
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:                        
     Type:  enhancement        |      Status:  new                   
 Priority:  normal             |   Milestone:  3.0                   
Component:  Users              |     Version:  2.9                   
 Severity:  normal             |    Keywords:  has-patch dev-feedback
-------------------------------+--------------------------------------------

Comment(by dd32):

 +1 for a seperate function.

 is_user_logged_in() is exactly that, Is the user logged in. It should be a
 boolean IMO.

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


More information about the wp-trac mailing list