Fix Single posts page not loading issue when show_posts_on_profile is enabled
Fix the comment is closed issue caused by BuddyPress theme compat comment closing function