Skip to:
Content

BuddyPress.org

Changeset 11066


Ignore:
Timestamp:
09/06/2016 07:09:53 PM (8 years ago)
Author:
r-a-y
Message:

Activity: Fix activity comment delete link when Activity Directory page is nested.

Fixes #7236.

Props danielhuesken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-template.php

    r11035 r11066  
    20982098     */
    20992099    function bp_get_activity_comment_delete_link() {
    2100         $link = wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/delete/' . bp_get_activity_comment_id() . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_delete_link' );
     2100        $link = wp_nonce_url( bp_get_activity_directory_permalink() . 'delete/' . bp_get_activity_comment_id() . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_delete_link' );
    21012101
    21022102        /**
Note: See TracChangeset for help on using the changeset viewer.