Changeset 11643 for trunk/src/bp-messages/bp-messages-template.php
- Timestamp:
- 07/13/2017 07:10:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-template.php
r11612 r11643 1164 1164 * @param string $value Text indicating action being executed. 1165 1165 */ 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' ) );1166 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' ) ); 1167 1167 } 1168 1168 … … 1182 1182 1183 1183 if ( 1 === (int) $messages_template->thread->is_active ) { 1184 $link = wp_nonce_url( trailingslashit( bp_ displayed_user_domain() . bp_get_messages_slug() . '/notices/deactivate/' . $messages_template->thread->id ), 'messages_deactivate_notice' );1184 $link = wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/notices/deactivate/' . $messages_template->thread->id ), 'messages_deactivate_notice' ); 1185 1185 } else { 1186 $link = wp_nonce_url( trailingslashit( bp_ displayed_user_domain() . bp_get_messages_slug() . '/notices/activate/' . $messages_template->thread->id ), 'messages_activate_notice' );1186 $link = wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/notices/activate/' . $messages_template->thread->id ), 'messages_activate_notice' ); 1187 1187 } 1188 1188
Note: See TracChangeset
for help on using the changeset viewer.