Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2011 02:39:11 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Audit the usage of $bp->groups->slug. See #3325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r4647 r4648  
    385385        echo '<span class="activity">' . esc_attr( $user->last_active ) . '</span>';
    386386        echo '<div class="action">
    387                 <a class="button remove" href="' . wp_nonce_url( $bp->loggedin_user->domain . $bp->groups->slug . '/' . $_POST['group_id'] . '/invites/remove/' . $user->id, 'groups_invite_uninvite_user' ) . '" id="uid-' . esc_attr( $user->id ) . '">' . __( 'Remove Invite', 'buddypress' ) . '</a>
     387                <a class="button remove" href="' . wp_nonce_url( $bp->loggedin_user->domain . bp_get_groups_slug() . '/' . $_POST['group_id'] . '/invites/remove/' . $user->id, 'groups_invite_uninvite_user' ) . '" id="uid-' . esc_attr( $user->id ) . '">' . __( 'Remove Invite', 'buddypress' ) . '</a>
    388388              </div>';
    389389        echo '</li>';
Note: See TracChangeset for help on using the changeset viewer.