Changeset 7098 for trunk/src/includes/extend/buddypress/notifications.php
- Timestamp:
- 06/04/2020 09:29:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/notifications.php
r7006 r7098 194 194 // Check nonce 195 195 if ( ! bbp_verify_nonce_request( 'bbp_mark_topic_' . $topic_id ) ) { 196 bbp_add_error( 'bbp_notification_topic_id', __( '<strong>E RROR</strong>: Are you sure you wanted to do that?', 'bbpress' ) );196 bbp_add_error( 'bbp_notification_topic_id', __( '<strong>Error</strong>: Are you sure you wanted to do that?', 'bbpress' ) ); 197 197 198 198 // Check current user's ability to edit the user 199 199 } elseif ( ! current_user_can( 'edit_user', $user_id ) ) { 200 bbp_add_error( 'bbp_notification_permission', __( '<strong>E RROR</strong>: You do not have permission to mark notifications for that user.', 'bbpress' ) );200 bbp_add_error( 'bbp_notification_permission', __( '<strong>Error</strong>: You do not have permission to mark notifications for that user.', 'bbpress' ) ); 201 201 } 202 202
Note: See TracChangeset
for help on using the changeset viewer.