[wp-trac] [WordPress Trac] #25372: Replace use of global $user_id in favor of get_current_user_id()

WordPress Trac noreply at wordpress.org
Sat Sep 21 15:11:48 UTC 2013


#25372: Replace use of global $user_id in favor of get_current_user_id()
--------------------------+-----------------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 To be consistent we should replace all calls to the global var `$user_id`
 with `get_current_user_id()`.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25372>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list