Changeset 4558 for trunk/bp-core/bp-core-classes.php
- Timestamp:
- 06/24/2011 06:52:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-classes.php
r4462 r4558 137 137 * @uses bp_core_get_userlink() Returns a HTML formatted link for a user with the user's full name as the link text 138 138 * @uses bp_core_get_user_email() Returns the email address for the user based on user ID 139 * @uses get_user_meta() WordPressfunction returns the value of passed usermeta name from usermeta table139 * @uses bp_get_user_meta() BP function returns the value of passed usermeta name from usermeta table 140 140 * @uses bp_core_fetch_avatar() Returns HTML formatted avatar for a user 141 141 * @uses bp_profile_last_updated_date() Returns the last updated date for a user. … … 167 167 $this->avatar_thumb = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'thumb' ) ); 168 168 $this->avatar_mini = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'thumb', 'width' => 30, 'height' => 30 ) ); 169 $this->last_active = bp_core_get_last_activity( get_user_meta( $this->id, bp_get_user_meta_key( 'last_activity' ), true ), __( 'active %s ago', 'buddypress' ) );169 $this->last_active = bp_core_get_last_activity( bp_get_user_meta( $this->id, 'last_activity', true ), __( 'active %s ago', 'buddypress' ) ); 170 170 } 171 171
Note: See TracChangeset
for help on using the changeset viewer.