Changeset 7037 for trunk/src/includes/replies/functions.php
- Timestamp:
- 12/13/2019 10:03:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r7007 r7037 1488 1488 $reply = bbp_get_reply( $reply_id ); 1489 1489 if ( empty( $reply ) ) { 1490 bbp_add_error( 'bbp_toggle_reply_missing', __( '<strong>ERROR :</strong>This reply could not be found or no longer exists.', 'bbpress' ) );1490 bbp_add_error( 'bbp_toggle_reply_missing', __( '<strong>ERROR</strong>: This reply could not be found or no longer exists.', 'bbpress' ) ); 1491 1491 return; 1492 1492 } … … 1494 1494 // What is the user doing here? 1495 1495 if ( ! current_user_can( 'edit_reply', $reply_id ) || ( 'bbp_toggle_reply_trash' === $action && ! current_user_can( 'delete_reply', $reply_id ) ) ) { 1496 bbp_add_error( 'bbp_toggle_reply_permission', __( '<strong>ERROR :</strong>You do not have permission to do that.', 'bbpress' ) );1496 bbp_add_error( 'bbp_toggle_reply_permission', __( '<strong>ERROR</strong>: You do not have permission to do that.', 'bbpress' ) ); 1497 1497 return; 1498 1498 }
Note: See TracChangeset
for help on using the changeset viewer.