Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/19/2010 11:57:47 AM (17 years ago)
Author:
apeatling
Message:

Fixes #1556 - missing comment delete ajax loader.

File:
1 edited

Legend:

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

    r2346 r2354  
    131131                        <?php echo bp_core_get_userlink( $bp->loggedin_user->id ) ?> &middot; <?php echo bp_core_time_since( time() ) ?> &middot;
    132132                        <a class="acomment-reply" href="#acomment-<?php echo $comment_id ?>" id="acomment-reply-<?php echo attribute_escape( $_POST['form_id'] ) ?>"><?php _e( 'Reply', 'buddypress' ) ?></a>
    133                         <?php if ( is_site_admin() || $bp->loggedin_user->id == $comment->user_id ) : ?>
    134                                  &middot; <a href="<?php echo wp_nonce_url( $bp->activity->id . '/delete/?cid=' . $comment_id, 'delete_activity_comment' ) ?>" class="delete acomment-delete"><?php _e( 'Delete', 'buddypress' ) ?></a>
    135                         <?php endif; ?>
     133                         &middot; <a href="<?php echo wp_nonce_url( $bp->root_domain . '/' . $bp->activity->slug . '/delete/' . $comment_id, 'bp_activity_delete_link' ) ?>" class="item-button delete-activity confirm"><?php _e( 'Delete', 'buddypress' ) ?></a>
    136134                </div>
    137135
Note: See TracChangeset for help on using the changeset viewer.