Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/08/2011 01:24:47 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Use bp_loggedin_user_id() rather than reference the $bp->logged_user->id global var directly. Second step at consolidating user ID checks to use WP_User class later. See #3738.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-activity.php

    r5301 r5302  
    4343
    4444    $defaults = array (
    45         'user_id'           => $bp->loggedin_user->id,
     45        'user_id'           => bp_loggedin_user_id(),
    4646        'action'            => '',
    4747        'content'           => '',
Note: See TracChangeset for help on using the changeset viewer.