Index: includes/replies/template.php
===================================================================
--- includes/replies/template.php	(revision 2496388)
+++ includes/replies/template.php	(working copy)
@@ -453,31 +453,31 @@ function bbp_reply_url( $reply_id = 0 )
 			$reply_page = 1;
 
 		// Standard reply page
 		} else {
 			$reply_page = ceil( (int) bbp_get_reply_position( $reply_id, $topic_id ) / (int) bbp_get_replies_per_page() );
 		}
 
 		// Get links & URLS
 		$reply_hash = '#post-' . $reply_id;
 		$topic_link = bbp_get_topic_permalink( $topic_id, $redirect_to );
 		$topic_url  = remove_query_arg( 'view', $topic_link );
 
 		// Get vars needed to support pending topics with unpretty links
 		$has_slug   = ! empty( $topic ) ? $topic->post_name : '';
 		$pretty     = bbp_use_pretty_urls();
-		$published  = ! bbp_is_topic_pending( $topic_id );
+		$published  = bbp_is_topic_published( $topic_id );
 
 		// Don't include pagination if on first page
 		if ( 1 >= $reply_page ) {
 
 			// Pretty permalinks
 			if ( ! empty( $has_slug ) && ! empty( $pretty ) && ! empty( $published ) ) {
 				$url = user_trailingslashit( $topic_url ) . $reply_hash;
 
 			// Unpretty links
 			} else {
 				$url = $topic_url . $reply_hash;
 			}
 
 		// Include pagination
 		} else {
