[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
Fri Dec 11 16:32:46 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 filosofo):

 If we really need {{{get_current_user_id()}}} or the like let's create it.
 Let's not add any hidden, unexpected functionality to existing functions.

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


More information about the wp-trac mailing list