Changeset 9116
- Timestamp:
- 11/03/2014 03:39:14 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-classes.php
r9051 r9116 1064 1064 1065 1065 foreach ( (array) $paged_users as $user ) { 1066 $user_ids[] = $user-> id;1066 $user_ids[] = $user->ID; 1067 1067 } 1068 1068 … … 1135 1135 $user_ids = array(); 1136 1136 foreach ( (array) $paged_users as $user ) 1137 $user_ids[] = (int) $user-> id;1137 $user_ids[] = (int) $user->ID; 1138 1138 1139 1139 // Add additional data to the returned results … … 1223 1223 */ 1224 1224 foreach ( (array) $paged_users as $user ) 1225 $user_ids[] = $user-> id;1225 $user_ids[] = $user->ID; 1226 1226 1227 1227 // Add additional data to the returned results -
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r9094 r9116 1057 1057 $uninvite_url = bp_is_current_action( 'create' ) ? bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/group-invites/?user_id=' . $friend_id : bp_get_group_permalink( $group ) . 'send-invites/remove/' . $friend_id; 1058 1058 1059 echo '<li id="uid-' . $user->id. '">';1059 echo '<li id="uid-' . esc_attr( $user->ID ) . '">'; 1060 1060 echo $user->avatar_thumb; 1061 1061 echo '<h4>' . $user->user_link . '</h4>'; 1062 1062 echo '<span class="activity">' . esc_attr( $user->last_active ) . '</span>'; 1063 1063 echo '<div class="action"> 1064 <a class="button remove" href="' . wp_nonce_url( $uninvite_url, 'groups_invite_uninvite_user' ) . '" id="uid-' . esc_attr( $user-> id) . '">' . __( 'Remove Invite', 'buddypress' ) . '</a>1064 <a class="button remove" href="' . wp_nonce_url( $uninvite_url, 'groups_invite_uninvite_user' ) . '" id="uid-' . esc_attr( $user->ID ) . '">' . __( 'Remove Invite', 'buddypress' ) . '</a> 1065 1065 </div>'; 1066 1066
Note: See TracChangeset
for help on using the changeset viewer.