[wp-trac] [WordPress Trac] #39051: docs for get_current_user_id(): add 0 return value if no user logged in

WordPress Trac noreply at wordpress.org
Sun Dec 4 19:23:55 UTC 2016


#39051: docs for get_current_user_id(): add 0 return value if no user logged in
--------------------------+--------------------------
 Reporter:  ovenall       |       Owner:  johnbillion
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.8
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  docs
--------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39486"]:
 {{{
 #!CommitTicketReference repository="" revision="39486"
 Users: Clarify the return value of `get_current_user_id()` for non-logged-
 in users.

 Props ovenall
 Fixes #39051
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39051#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list