Changeset 1879151
- Timestamp:
- 05/22/2018 12:26:48 PM (8 years ago)
- File:
-
- 1 edited
-
cometchat/trunk/includes/cometchat_cloud.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cometchat/trunk/includes/cometchat_cloud.php
r1868043 r1879151 97 97 $display_name = $current_user->display_name; 98 98 $role = wp_get_current_user()->roles[0]; 99 99 if(!empty($display_name)){ 100 $user_name = $display_name; 101 } 100 102 preg_match('/< *img[^>]*src *= *["\']?([^"\']*)/i', get_avatar($user_id), $matches); 101 103 $avatar = $matches[1];
Note: See TracChangeset
for help on using the changeset viewer.