Completed
Push — master ( 55f18a...0fb8d7 )
by Fernando
05:05 queued 02:16
created
comment.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,24 +1,24 @@
 block discarded – undo
1 1
 <?php 
2
-	if ( isset( $GLOBALS['comment_depth'] ) ) {
3
-		$depth = intval( $GLOBALS['comment_depth'] );
2
+	if (isset($GLOBALS['comment_depth'])) {
3
+		$depth = intval($GLOBALS['comment_depth']);
4 4
 	} else {
5 5
 		$depth = 1;
6 6
 	}
7 7
 
8
-	$max_depth = intval( get_option( 'thread_comments_depth' ) );
8
+	$max_depth = intval(get_option('thread_comments_depth'));
9 9
 ?>
10 10
 
11 11
 <?php echo get_avatar($comment, '64'); ?>
12 12
 <div class="media-body">
13 13
   <h4 class="media-heading"><?php echo get_comment_author_link(); ?></h4>
14
-  <time datetime="<?php echo comment_date('c'); ?>"><a href="<?php echo esc_url(get_comment_link($comment->comment_ID)); ?>"><?php printf(esc_html__('%1$s on %2$s', 'lsx'), get_comment_date(),  get_comment_time()); ?></a></time>
14
+  <time datetime="<?php echo comment_date('c'); ?>"><a href="<?php echo esc_url(get_comment_link($comment->comment_ID)); ?>"><?php printf(esc_html__('%1$s on %2$s', 'lsx'), get_comment_date(), get_comment_time()); ?></a></time>
15 15
   <?php edit_comment_link(esc_html__('(Edit)', 'lsx'), '', ''); ?>
16 16
   
17
-  <?php if ( '0' == $comment->comment_approved ) : ?>
17
+  <?php if ('0' == $comment->comment_approved) : ?>
18 18
   <div class="alert alert-info">
19 19
     <?php esc_html_e('Your comment is awaiting moderation.', 'lsx'); ?>
20 20
   </div>
21 21
 <?php endif; ?>
22 22
 
23 23
 <?php comment_text(); ?>
24
-<?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $max_depth ) );
25 24
\ No newline at end of file
25
+<?php comment_reply_link(array('depth' => $depth, 'max_depth' => $max_depth));
26 26
\ No newline at end of file
Please login to merge, or discard this patch.