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

WordPress Trac noreply at wordpress.org
Thu Oct 3 13:35:13 UTC 2013


#25372: Replace use of global $user_id in favor of get_current_user_id()
------------------------------+----------------------
 Reporter:  ocean90           |       Owner:  ocean90
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.7
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+----------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"25689"]:
 {{{
 #!CommitTicketReference repository="" revision="25689"
 Move `get_current_user_id()` call out of if-block, see [25669].

 props layotte.
 fixes #25372.
 }}}

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


More information about the wp-trac mailing list