Skip to:
Content

BuddyPress.org

Changeset 11750


Ignore:
Timestamp:
11/29/2017 04:35:27 PM (20 months ago)
Author:
djpaul
Message:

Messages: fix nonce for sitewide notice deletion.

Fixes #7622

Props tobiashonold

File:
1 edited

Legend:

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

    r11644 r11750  
    12241224         * @param string $value Text indicating action being executed.
    12251225         */
    1226         return apply_filters( 'bp_get_message_notice_delete_link', wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/notices/delete/' . $messages_template->thread->id ), 'messages_delete_thread' ) );
     1226        return apply_filters( 'bp_get_message_notice_delete_link', wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/notices/delete/' . $messages_template->thread->id ), 'messages_delete_notice' ) );
    12271227    }
    12281228
Note: See TracChangeset for help on using the changeset viewer.