Index: src/includes/replies/capabilities.php
===================================================================
--- src/includes/replies/capabilities.php	(revision 7065)
+++ src/includes/replies/capabilities.php	(working copy)
@@ -1,7 +1,7 @@
 <?php
 
 /**
- * bbPress Reply Capabilites
+ * bbPress Reply Capabilities
  *
  * Used to map reply capabilities to WordPress's existing capabilities.
  *
@@ -18,7 +18,7 @@
  */
 function bbp_get_reply_caps() {
 
-	// Filter & return
+	// Filter & return.
 	return (array) apply_filters( 'bbp_get_reply_caps', array(
 		'edit_posts'          => 'edit_replies',
 		'edit_others_posts'   => 'edit_others_replies',
@@ -50,7 +50,7 @@
 
 		case 'read_reply' :
 
-			// User cannot spectate
+			// User cannot spectate.
 			if ( ! user_can( $user_id, 'spectate' ) ) {
 				$caps = array( 'do_not_allow' );
 
@@ -57,7 +57,7 @@
 			// Do some post ID based logic
 			} else {
 
-				// Bail if no post ID
+				// Bail if no post ID.
 				if ( empty( $args[0] ) ) {
 					break;
 				}
@@ -66,22 +66,22 @@
 				$_post = get_post( $args[0] );
 				if ( ! empty( $_post ) ) {
 
-					// Get post type object
+					// Get post type object.
 					$post_type = get_post_type_object( $_post->post_type );
 
-					// Post is public
+					// Post is public.
 					if ( bbp_get_public_status_id() === $_post->post_status ) {
 						$caps = array( 'spectate' );
 
-					// User is author so allow read
+					// User is author so allow read.
 					} elseif ( (int) $user_id === (int) $_post->post_author ) {
 						$caps = array( 'spectate' );
 
-					// Moderators can always edit forum content
+					// Moderators can always edit forum content.
 					} elseif ( user_can( $user_id, 'moderate', $_post->ID ) ) {
 						$caps = array( 'spectate' );
 
-					// Unknown so map to private posts
+					// Unknown so map to private posts.
 					} else {
 						$caps = array( $post_type->cap->read_private_posts );
 					}
@@ -94,7 +94,7 @@
 
 		case 'publish_replies' :
 
-			// Moderators can always publish
+			// Moderators can always publish.
 			if ( user_can( $user_id, 'moderate' ) ) {
 				$caps = array( 'moderate' );
 			}
@@ -103,15 +103,15 @@
 
 		/** Editing ***********************************************************/
 
-		// Used primarily in wp-admin
+		// Used primarily in wp-admin.
 		case 'edit_replies'        :
 		case 'edit_others_replies' :
 
-			// Moderators can always edit
+			// Moderators can always edit.
 			if ( user_can( $user_id, 'moderate' ) ) {
 				$caps = array( 'moderate' );
 
-			// Otherwise, check forum
+			// Otherwise, check forum.
 			} else {
 				$forum_id = bbp_get_forum_id();
 
@@ -119,7 +119,7 @@
 				if ( user_can( $user_id, 'moderate', $forum_id ) ) {
 					$caps = array( 'spectate' );
 
-				// Fallback to do_not_allow
+				// Fallback to do_not_allow.
 				} else {
 					$caps = array( 'do_not_allow' );
 				}
@@ -127,10 +127,10 @@
 
 			break;
 
-		// Used everywhere
+		// Used everywhere.
 		case 'edit_reply' :
 
-			// Bail if no post ID
+			// Bail if no post ID.
 			if ( empty( $args[0] ) ) {
 				break;
 			}
@@ -139,24 +139,24 @@
 			$_post = get_post( $args[0] );
 			if ( ! empty( $_post ) ) {
 
-				// Get post type object
+				// Get post type object.
 				$post_type = get_post_type_object( $_post->post_type );
 
-				// Add 'do_not_allow' cap if user is spam or deleted
+				// Add 'do_not_allow' cap if user is spam or deleted.
 				if ( bbp_is_user_inactive( $user_id ) ) {
 					$caps = array( 'do_not_allow' );
 
-				// Moderators can always edit forum content
+				// Moderators can always edit forum content.
 				} elseif ( user_can( $user_id, 'moderate', $_post->ID ) ) {
 					$caps = array( 'spectate' );
 
-				// Allow author or mod to edit if not in admin, unless past edit lock time
+				// Allow author or mod to edit if not in admin, unless past edit lock time.
 				} elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {
 
 					// If editing...
 					if ( bbp_is_reply_edit() ) {
 
-						// Only allow if not past the edit-lock period
+						// Only allow if not past the edit-lock period.
 						$caps = ! bbp_past_edit_lock( $_post->post_date_gmt )
 							? array( $post_type->cap->edit_posts )
 							: array( 'do_not_allow' );
@@ -178,31 +178,31 @@
 
 		case 'delete_reply' :
 
-			// Bail if no post ID
+			// Bail if no post ID.
 			if ( empty( $args[0] ) ) {
 				break;
 			}
 
-			// Get the post
+			// Get the post.
 			$_post = get_post( $args[0] );
 			if ( ! empty( $_post ) ) {
 
-				// Get post type object
+				// Get post type object.
 				$post_type = get_post_type_object( $_post->post_type );
 
-				// Add 'do_not_allow' cap if user is spam or deleted
+				// Add 'do_not_allow' cap if user is spam or deleted.
 				if ( bbp_is_user_inactive( $user_id ) ) {
 					$caps = array( 'do_not_allow' );
 
-				// Moderators can always edit forum content
+				// Moderators can always edit forum content.
 				} elseif ( user_can( $user_id, 'moderate', $_post->ID ) ) {
 					$caps = array( 'spectate' );
 
-				// User is author so allow delete if not in admin
+				// User is author so allow delete if not in admin.
 				} elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {
 					$caps = array( $post_type->cap->delete_posts );
 
-				// Unknown so map to delete_others_posts
+				// Unknown so map to delete_others_posts.
 				} else {
 					$caps = array( $post_type->cap->delete_others_posts );
 				}
@@ -210,11 +210,11 @@
 
 			break;
 
-		// Moderation override
+		// Moderation override.
 		case 'delete_replies'        :
 		case 'delete_others_replies' :
 
-			// Moderators can always delete
+			// Moderators can always delete.
 			if ( user_can( $user_id, 'moderate' ) ) {
 				$caps = array( 'moderate' );
 			}
@@ -228,6 +228,6 @@
 			break;
 	}
 
-	// Filter & return
+	// Filter & return.
 	return (array) apply_filters( 'bbp_map_reply_meta_caps', $caps, $cap, $user_id, $args );
 }
Index: src/templates/default/bbpress/alert-topic-lock.php
===================================================================
--- src/templates/default/bbpress/alert-topic-lock.php	(revision 7065)
+++ src/templates/default/bbpress/alert-topic-lock.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 do_action( 'bbp_theme_before_alert_topic_lock' ); ?>
Index: src/templates/default/bbpress/content-archive-forum.php
===================================================================
--- src/templates/default/bbpress/content-archive-forum.php	(revision 7065)
+++ src/templates/default/bbpress/content-archive-forum.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-archive-topic.php
===================================================================
--- src/templates/default/bbpress/content-archive-topic.php	(revision 7065)
+++ src/templates/default/bbpress/content-archive-topic.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-search.php
===================================================================
--- src/templates/default/bbpress/content-search.php	(revision 7065)
+++ src/templates/default/bbpress/content-search.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-single-forum.php
===================================================================
--- src/templates/default/bbpress/content-single-forum.php	(revision 7065)
+++ src/templates/default/bbpress/content-single-forum.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-single-reply.php
===================================================================
--- src/templates/default/bbpress/content-single-reply.php	(revision 7065)
+++ src/templates/default/bbpress/content-single-reply.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-single-topic-lead.php
===================================================================
--- src/templates/default/bbpress/content-single-topic-lead.php	(revision 7065)
+++ src/templates/default/bbpress/content-single-topic-lead.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 do_action( 'bbp_template_before_lead_topic' ); ?>
Index: src/templates/default/bbpress/content-single-topic.php
===================================================================
--- src/templates/default/bbpress/content-single-topic.php	(revision 7065)
+++ src/templates/default/bbpress/content-single-topic.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-single-user.php
===================================================================
--- src/templates/default/bbpress/content-single-user.php	(revision 7065)
+++ src/templates/default/bbpress/content-single-user.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-single-view.php
===================================================================
--- src/templates/default/bbpress/content-single-view.php	(revision 7065)
+++ src/templates/default/bbpress/content-single-view.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/content-statistics.php
===================================================================
--- src/templates/default/bbpress/content-statistics.php	(revision 7065)
+++ src/templates/default/bbpress/content-statistics.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 // Get the statistics
Index: src/templates/default/bbpress/content-topic-tag-edit.php
===================================================================
--- src/templates/default/bbpress/content-topic-tag-edit.php	(revision 7065)
+++ src/templates/default/bbpress/content-topic-tag-edit.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/feedback-logged-in.php
===================================================================
--- src/templates/default/bbpress/feedback-logged-in.php	(revision 7065)
+++ src/templates/default/bbpress/feedback-logged-in.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/feedback-no-access.php
===================================================================
--- src/templates/default/bbpress/feedback-no-access.php	(revision 7065)
+++ src/templates/default/bbpress/feedback-no-access.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
Index: src/templates/default/bbpress/feedback-no-forums.php
===================================================================
--- src/templates/default/bbpress/feedback-no-forums.php	(revision 7065)
+++ src/templates/default/bbpress/feedback-no-forums.php	(working copy)
@@ -7,7 +7,7 @@
  * @subpackage Theme
  */
 
-// Exit if accessed directly
+// Exit if accessed directly.
 defined( 'ABSPATH' ) || exit;
 
 ?>
