Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/21/2017 09:03:42 PM (9 years ago)
Author:
r-a-y
Message:

Audit template link functions to use trailingslashit() where necessary.

Particularly, fixes issues on LightSpeed installs.

Props allianse, r-a-y.

Fixes #7448.

File:
1 edited

Legend:

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

    r11564 r11598  
    20912091         */
    20922092        function bp_get_activity_comment_delete_link() {
    2093                 $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' );
     2093                $link = wp_nonce_url( trailingslashit( bp_get_activity_directory_permalink() . 'delete/' . bp_get_activity_comment_id() ) . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_delete_link' );
    20942094
    20952095                /**
Note: See TracChangeset for help on using the changeset viewer.