Completed
Push — master ( 887474...8c331e )
by SILENT
02:25
created
content-gallery.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  */
8 8
 
9 9
 // Access global variable directly to set content_width.
10
-if ( isset( $GLOBALS['content_width'] ) ) {
10
+if (isset($GLOBALS['content_width'])) {
11 11
 	$GLOBALS['content_width'] = 1920;
12 12
 }
13 13
 ?>
@@ -15,22 +15,22 @@  discard block
 block discarded – undo
15 15
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
16 16
 	<div class="entry-wrap wrap clear">
17 17
 
18
-<?php if ( '' !== get_the_post_thumbnail() ) :
19
-	the_post_thumbnail( 'strip-featured-thumbnail' );
18
+<?php if ('' !== get_the_post_thumbnail()) :
19
+	the_post_thumbnail('strip-featured-thumbnail');
20 20
 endif; ?>
21 21
 
22 22
 		<header class="entry-header">
23 23
 	<?php
24
-				$categories_list = get_the_category_list( __( ', ', 'strip' ) );
24
+				$categories_list = get_the_category_list(__(', ', 'strip'));
25 25
 
26
-	if ( ! is_single() ) :
27
-		the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
26
+	if ( ! is_single()) :
27
+		the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
28 28
 	else :
29
-					the_title( '<h1 class="entry-title">', '</h1>' );
29
+					the_title('<h1 class="entry-title">', '</h1>');
30 30
 	endif; ?>
31 31
 
32 32
 		<div class="entry-content clear">
33
-	<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
33
+	<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'strip')); ?>
34 34
 
35 35
 		</div><!-- .entry-content -->
36 36
 		</header><!-- .entry-header -->
@@ -38,16 +38,16 @@  discard block
 block discarded – undo
38 38
 		<footer class="entry-meta">
39 39
 	<?php strip_entry_meta(); ?>
40 40
 
41
-			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'gallery' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'gallery' ) ); ?></a></span>
41
+			<span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('gallery')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('gallery'))); ?>"><?php echo esc_html(get_post_format_string('gallery')); ?></a></span>
42 42
 
43
-	<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
43
+	<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
44 44
 		</footer><!-- .entry-meta -->
45 45
 
46
-	<?php if ( has_excerpt() ) : ?>
46
+	<?php if (has_excerpt()) : ?>
47 47
 		<div class="entry-summary">
48
-	<?php do_action( 'strip_formatted_posts_excerpt_before' ); ?>
48
+	<?php do_action('strip_formatted_posts_excerpt_before'); ?>
49 49
 	<?php the_excerpt(); ?>
50
-	<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
50
+	<?php do_action('strip_formatted_posts_excerpt_after'); ?>
51 51
 		</div><!-- .entry-caption -->
52 52
 	<?php endif; ?>
53 53
 
Please login to merge, or discard this patch.
content-image.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  */
8 8
 
9 9
 // Access global variable directly to set content_width.
10
-if ( isset( $GLOBALS['content_width'] ) ) {
10
+if (isset($GLOBALS['content_width'])) {
11 11
 	$GLOBALS['content_width'] = 1920;
12 12
 }
13 13
 ?>
@@ -18,33 +18,33 @@  discard block
 block discarded – undo
18 18
 
19 19
 		<header class="entry-header">
20 20
 			<?php
21
-				$categories_list = get_the_category_list( __( ', ', 'strip' ) );
21
+				$categories_list = get_the_category_list(__(', ', 'strip'));
22 22
 
23
-			if ( ! is_single() ) :
24
-				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
23
+			if ( ! is_single()) :
24
+				the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
25 25
 			else :
26
-					the_title( '<h1 class="entry-title">', '</h1>' );
26
+					the_title('<h1 class="entry-title">', '</h1>');
27 27
 			endif;
28 28
 			?>
29 29
 			</header><!-- .entry-header -->
30 30
 
31
-					<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
31
+					<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'strip')); ?>
32 32
 
33 33
 		</div><!-- .entry-attachment -->
34 34
 
35 35
 		<footer class="entry-meta">
36 36
 			<?php strip_entry_meta(); ?>
37 37
 
38
-			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'image' ) ); ?></a></span>
38
+			<span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('image')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('image'))); ?>"><?php echo esc_html(get_post_format_string('image')); ?></a></span>
39 39
 
40
-			<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
40
+			<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
41 41
 		</footer><!-- .entry-meta -->
42 42
 
43
-				<?php if ( has_excerpt() ) : ?>
43
+				<?php if (has_excerpt()) : ?>
44 44
 		<div class="entry-summary">
45
-			<?php do_action( 'strip_formatted_posts_excerpt_before' ); ?>
45
+			<?php do_action('strip_formatted_posts_excerpt_before'); ?>
46 46
 			<?php the_excerpt(); ?>
47
-			<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
47
+			<?php do_action('strip_formatted_posts_excerpt_after'); ?>
48 48
 		</div><!-- .entry-caption -->
49 49
 		<?php endif; ?>
50 50
 
Please login to merge, or discard this patch.