Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/21/2017 09:03:42 PM (8 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-messages/bp-messages-template.php

    r11582 r11598  
    11641164         * @param string $value Text indicating action being executed.
    11651165         */
    1166         return apply_filters( 'bp_get_message_notice_delete_link', wp_nonce_url( bp_displayed_user_domain() . bp_get_messages_slug() . '/notices/delete/' . $messages_template->thread->id, 'messages_delete_thread' ) );
     1166        return apply_filters( 'bp_get_message_notice_delete_link', wp_nonce_url( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() . '/notices/delete/' . $messages_template->thread->id ), 'messages_delete_thread' ) );
    11671167    }
    11681168
Note: See TracChangeset for help on using the changeset viewer.