Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/31/2010 02:39:44 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1653

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-templatetags.php

    r2488 r2499  
    574574                /* Delete link */
    575575                if ( is_site_admin() || $bp->loggedin_user->id == $comment->user_id )
    576                     $content .= ' &middot; <a href="' . wp_nonce_url( $bp->activity->id . '/delete/?cid=' . $comment->id, 'bp_activity_delete_link' ) . '" class="delete acomment-delete">' . __( 'Delete', 'buddypress' ) . '</a>';
     576                    $content .= ' &middot; <a href="' . wp_nonce_url( $bp->root_domain . '/' . $bp->activity->slug . '/delete/?cid=' . $comment->id, 'bp_activity_delete_link' ) . '" class="delete acomment-delete">' . __( 'Delete', 'buddypress' ) . '</a>';
    577577
    578578                $content .= '</div>';
Note: See TracChangeset for help on using the changeset viewer.