Skip to:
Content

BuddyPress.org

Changeset 9122


Ignore:
Timestamp:
11/03/2014 07:28:21 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Partial revert of r9116 (user->id to user->ID changes)

Has potential for breakage in themes, and requires more investigation before fully addressing.

See #5979.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress-functions.php

    r9116 r9122  
    10571057        $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;
    10581058
    1059         echo '<li id="uid-' . esc_attr( $user->ID ) . '">';
     1059        echo '<li id="uid-' . esc_attr( $user->id ) . '">';
    10601060        echo $user->avatar_thumb;
    10611061        echo '<h4>' . $user->user_link . '</h4>';
    10621062        echo '<span class="activity">' . esc_attr( $user->last_active ) . '</span>';
    10631063        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>
    10651065              </div>';
    10661066
Note: See TracChangeset for help on using the changeset viewer.