Completed
Push — master ( ba45cb...91343d )
by SILENT
02:27
created
content-audio.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -14,27 +14,27 @@
 block discarded – undo
14 14
 		<div class="entry-info">
15 15
 			<header class="entry-header">
16 16
 				<?php
17
-					$categories_list = get_the_category_list( __( ', ', 'strip' ) );
17
+					$categories_list = get_the_category_list(__(', ', 'strip'));
18 18
 
19
-				if ( ! is_single() ) :
20
-					the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
19
+				if ( ! is_single()) :
20
+					the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
21 21
 				else :
22
-						the_title( '<h1 class="entry-title">', '</h1>' );
22
+						the_title('<h1 class="entry-title">', '</h1>');
23 23
 				endif;
24 24
 				?>
25 25
 			</header><!-- .entry-header -->
26 26
 
27 27
 			<footer class="entry-meta">
28 28
 
29
-				<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'audio' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'audio' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'audio' ) ); ?></a></span>
29
+				<span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('audio')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('audio'))); ?>"><?php echo esc_html(get_post_format_string('audio')); ?></a></span>
30 30
 
31
-				<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
31
+				<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
32 32
 			</footer><!-- .entry-meta -->
33 33
 
34 34
 		</div><!-- .entry-info -->
35 35
 
36 36
 		<div class="entry-content clear">
37
-			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
37
+			<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'strip')); ?>
38 38
 
39 39
 		</div><!-- .entry-content -->
40 40
 	</div><!-- .entry-wrap -->
Please login to merge, or discard this patch.
content-video.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -7,28 +7,28 @@  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
 ?>
14 14
 
15
-<article id="post-<?php the_ID(); ?>" <?php post_class( 'clear' ); ?>>
15
+<article id="post-<?php the_ID(); ?>" <?php post_class('clear'); ?>>
16 16
 	<div class="entry-wrap wrap clear">
17 17
 
18 18
 	<?php
19
-	if ( '' !== get_the_post_thumbnail() ) :
20
-		the_post_thumbnail( 'strip-featured-thumbnail' );
19
+	if ('' !== get_the_post_thumbnail()) :
20
+		the_post_thumbnail('strip-featured-thumbnail');
21 21
 	endif;
22 22
 	?>
23 23
 
24 24
 	<header class="entry-header">
25 25
 		<?php
26
-			$categories_list = get_the_category_list( __( ', ', 'strip' ) );
26
+			$categories_list = get_the_category_list(__(', ', 'strip'));
27 27
 
28
-		if ( ! is_single() ) :
29
-			the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
28
+		if ( ! is_single()) :
29
+			the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
30 30
 		else :
31
-			the_title( '<h1 class="entry-title">', '</h1>' );
31
+			the_title('<h1 class="entry-title">', '</h1>');
32 32
 		endif;
33 33
 		?>
34 34
 	</header><!-- .entry-header -->
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
 		<?php
38 38
 			the_content(sprintf(
39 39
 				/* translators: %s: Name of current post. */
40
-				esc_html( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip' ), array( 'span' => array( 'class' => array() ) ) ),
41
-				the_title( '<span class="screen-reader-text">"', '"</span>', false )
40
+				esc_html(__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip'), array('span' => array('class' => array()))),
41
+				the_title('<span class="screen-reader-text">"', '"</span>', false)
42 42
 			));
43 43
 
44 44
 		?>
@@ -47,16 +47,16 @@  discard block
 block discarded – undo
47 47
 			<footer class="entry-meta">
48 48
 				<?php strip_entry_meta(); ?>
49 49
 
50
-				<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'video' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'video' ) ); ?></a></span>
50
+				<span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('video')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('video'))); ?>"><?php echo esc_html(get_post_format_string('video')); ?></a></span>
51 51
 
52
-				<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
52
+				<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
53 53
 			</footer><!-- .entry-meta -->
54 54
 
55
-	<?php if ( has_excerpt() ) : ?>
55
+	<?php if (has_excerpt()) : ?>
56 56
 		<div class="entry-summary">
57
-	<?php do_action( 'strip_formatted_posts_excerpt_before' ); ?>
57
+	<?php do_action('strip_formatted_posts_excerpt_before'); ?>
58 58
 	<?php the_excerpt(); ?>
59
-	<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
59
+	<?php do_action('strip_formatted_posts_excerpt_after'); ?>
60 60
 		</div><!-- .entry-caption -->
61 61
 	<?php endif; ?>
62 62
 
Please login to merge, or discard this patch.
content-quote.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,19 +12,19 @@
 block discarded – undo
12 12
 	<div class="wrap">
13 13
 		<header class="entry-header">
14 14
 	<?php
15
-				$categories_list = get_the_category_list( __( ', ', 'strip' ) ); ?>
15
+				$categories_list = get_the_category_list(__(', ', 'strip')); ?>
16 16
 
17 17
 		</header><!-- .entry-header -->
18 18
 
19 19
 		<footer class="entry-meta">
20 20
 
21
-			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'quote' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'quote' ) ); ?></a></span>
21
+			<span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('quote')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('quote'))); ?>"><?php echo esc_html(get_post_format_string('quote')); ?></a></span>
22 22
 
23
-	<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
23
+	<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
24 24
 		</footer><!-- .entry-meta -->
25 25
 
26 26
 		<div class="entry-content">
27
-	<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
27
+	<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'strip')); ?>
28 28
 
29 29
 		</div><!-- .entry-content -->
30 30
 		</div><!-- .entry-wrap -->
Please login to merge, or discard this patch.
content.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -10,24 +10,24 @@  discard block
 block discarded – undo
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 12
 	<div class="wrap">
13
-		<?php if ( '' !== get_the_post_thumbnail() ) : ?>
14
-			<?php if ( ! is_single() ) : ?>
15
-			<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'strip' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="strip-featured-thumbnail">
16
-				<?php the_post_thumbnail( 'strip-featured-thumbnail' ); ?>
13
+		<?php if ('' !== get_the_post_thumbnail()) : ?>
14
+			<?php if ( ! is_single()) : ?>
15
+			<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr(sprintf(__('Permalink to %s', 'strip'), the_title_attribute('echo=0'))); ?>" rel="<?php the_ID(); ?>" class="strip-featured-thumbnail">
16
+				<?php the_post_thumbnail('strip-featured-thumbnail'); ?>
17 17
 			</a>
18 18
 			<?php else : ?>
19
-				<?php the_post_thumbnail( 'strip-featured-thumbnail' ); ?>
19
+				<?php the_post_thumbnail('strip-featured-thumbnail'); ?>
20 20
 			<?php endif; ?>
21 21
 		<?php endif; ?>
22 22
 
23 23
 		<header class="entry-header">
24 24
 			<?php
25
-				$categories_list = get_the_category_list( __( ', ', 'strip' ) );
25
+				$categories_list = get_the_category_list(__(', ', 'strip'));
26 26
 
27
-			if ( ! is_single() ) :
28
-				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
27
+			if ( ! is_single()) :
28
+				the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
29 29
 			else :
30
-					the_title( '<h1 class="entry-title">', '</h1>' );
30
+					the_title('<h1 class="entry-title">', '</h1>');
31 31
 			endif;
32 32
 			?>
33 33
 		</header><!-- .entry-header -->
@@ -35,14 +35,14 @@  discard block
 block discarded – undo
35 35
 		<footer class="entry-meta">
36 36
 			<?php strip_entry_meta(); ?>
37 37
 
38
-			<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
39
-			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
38
+			<?php if ( ! post_password_required() && (comments_open() || '0' !== get_comments_number())) : ?>
39
+			<span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'strip'), __('1 Comment', 'strip'), __('% Comments', 'strip')); ?></span>
40 40
 			<?php endif; ?>
41 41
 
42
-			<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
42
+			<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
43 43
 		</footer><!-- .entry-meta -->
44 44
 
45
-		<?php if ( is_search() ) : // Only display Excerpts for Search. ?>
45
+		<?php if (is_search()) : // Only display Excerpts for Search. ?>
46 46
 		<div class="entry-summary">
47 47
 			<?php the_excerpt(); ?>
48 48
 		</div><!-- .entry-summary -->
@@ -51,16 +51,16 @@  discard block
 block discarded – undo
51 51
 			<?php
52 52
 			the_content(sprintf(
53 53
 				/* translators: %s: Name of current post. */
54
-				esc_html( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip' ), array( 'span' => array( 'class' => array() ) ) ),
55
-				the_title( '<span class="screen-reader-text">"', '"</span>', false )
54
+				esc_html(__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip'), array('span' => array('class' => array()))),
55
+				the_title('<span class="screen-reader-text">"', '"</span>', false)
56 56
 			));
57 57
 
58 58
 			wp_link_pages(array(
59
-				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'strip' ) . '</span>',
59
+				'before'      => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'strip') . '</span>',
60 60
 				'after'       => '</div>',
61 61
 				'link_before' => '<span>',
62 62
 				'link_after'  => '</span>',
63
-				'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'strip' ) . ' </span>%',
63
+				'pagelink'    => '<span class="screen-reader-text">' . __('Page', 'strip') . ' </span>%',
64 64
 				'separator'   => '<span class="screen-reader-text">, </span>',
65 65
 			));
66 66
 		?>
Please login to merge, or discard this patch.
content-aside.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,20 +12,20 @@
 block discarded – undo
12 12
 	<div class="wrap">
13 13
 		<header class="entry-header">
14 14
 			<?php
15
-				$categories_list = get_the_category_list( __( ', ', 'strip' ) ); ?>
15
+				$categories_list = get_the_category_list(__(', ', 'strip')); ?>
16 16
 
17 17
 		</header><!-- .entry-header -->
18 18
 
19 19
 		<footer class="entry-meta">
20 20
 			<?php strip_entry_meta(); ?>
21 21
 
22
-			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'aside' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'aside' ) ); ?></a></span>
22
+			<span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('aside')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('aside'))); ?>"><?php echo esc_html(get_post_format_string('aside')); ?></a></span>
23 23
 
24
-			<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
24
+			<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
25 25
 		</footer><!-- .entry-meta -->
26 26
 
27 27
 		<div class="entry-content">
28
-			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
28
+			<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'strip')); ?>
29 29
 
30 30
 		</div><!-- .entry-content -->
31 31
 		</div><!-- .entry-wrap -->
Please login to merge, or discard this patch.