Changeset 4255 for trunk/bp-activity/bp-activity-template.php
- Timestamp:
- 04/23/2011 04:24:55 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r4239 r4255 822 822 $comment_child->user_login ) . '">' . 823 823 bp_core_fetch_avatar( array( 824 'alt' => __( 'Profile picture of %s', 'buddypress' ), 824 825 'item_id' => $comment_child->user_id, 825 826 'width' => 30, … … 845 846 if ( $bp->loggedin_user->is_super_admin || $bp->loggedin_user->id == $comment->user_id ) { 846 847 $delete_url = wp_nonce_url( bp_get_root_domain() . '/' . $bp->activity->slug . '/delete/?cid=' . $comment_child->id, 'bp_activity_delete_link' ); 847 $content .= apply_filters( 'bp_activity_comment_delete_link', ' · <a href="' . $delete_url . '" class="delete acomment-delete " rel="nofollow">' . __( 'Delete', 'buddypress' ) . '</a>', $comment_child, $delete_url );848 $content .= apply_filters( 'bp_activity_comment_delete_link', ' · <a href="' . $delete_url . '" class="delete acomment-delete confirm" rel="nofollow">' . __( 'Delete', 'buddypress' ) . '</a>', $comment_child, $delete_url ); 848 849 } 849 850
Note: See TracChangeset
for help on using the changeset viewer.