Completed
Push — develop ( bffb9d...beef7f )
by Paul
02:07
created
templates/partials/head.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ ); ?>
1
+<?php Development::storeTemplatePath(__FILE__); ?>
2 2
 
3 3
 <head>
4 4
 	<meta charset="utf-8">
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1">
7
-	<title><?= get_bloginfo( 'name' ); ?></title>
8
-	<link rel="alternate" type="application/rss+xml" title="<?= get_bloginfo( 'name' ); ?> Feed" href="<?= esc_url( get_feed_link() ); ?>">
9
-	<?php get_template_part( 'partials/head-seo' ); ?>
10
-	<?php get_template_part( 'partials/head-favicon' ); ?>
7
+	<title><?= get_bloginfo('name'); ?></title>
8
+	<link rel="alternate" type="application/rss+xml" title="<?= get_bloginfo('name'); ?> Feed" href="<?= esc_url(get_feed_link()); ?>">
9
+	<?php get_template_part('partials/head-seo'); ?>
10
+	<?php get_template_part('partials/head-favicon'); ?>
11 11
 	<?php wp_head(); ?>
12 12
 </head>
Please login to merge, or discard this patch.
templates/partials/comments.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ );
1
+<?php Development::storeTemplatePath(__FILE__);
2 2
 
3
-if( post_password_required() )return; ?>
3
+if (post_password_required())return; ?>
4 4
 
5 5
 <section id="comments" class="comments">
6
-<?php if( have_comments() ) : ?>
6
+<?php if (have_comments()) : ?>
7 7
 	<h2><?= sprintf(
8
-		_nx( 'One response to &ldquo;%2$s&rdquo;', '%1$s responses to &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'castor' ),
9
-		number_format_i18n( get_comments_number() ),
8
+		_nx('One response to &ldquo;%2$s&rdquo;', '%1$s responses to &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'castor'),
9
+		number_format_i18n(get_comments_number()),
10 10
 		'<span>' . get_the_title() . '</span>'
11 11
 	); ?></h2>
12 12
 
@@ -17,23 +17,23 @@  discard block
 block discarded – undo
17 17
 		]); ?>
18 18
 	</ol>
19 19
 
20
-	<?php if( get_comment_pages_count() > 1 && get_option( 'page_comments' )) : ?>
20
+	<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : ?>
21 21
 	<nav>
22 22
 		<ul class="pager">
23
-		<?php if( get_previous_comments_link() ) : ?>
24
-			<li class="previous"><?php previous_comments_link( __( '&larr; Older comments', 'castor' )); ?></li>
23
+		<?php if (get_previous_comments_link()) : ?>
24
+			<li class="previous"><?php previous_comments_link(__('&larr; Older comments', 'castor')); ?></li>
25 25
 		<?php endif; ?>
26
-		<?php if( get_next_comments_link() ) : ?>
27
-			<li class="next"><?php next_comments_link( __( 'Newer comments &rarr;', 'castor' )); ?></li>
26
+		<?php if (get_next_comments_link()) : ?>
27
+			<li class="next"><?php next_comments_link(__('Newer comments &rarr;', 'castor')); ?></li>
28 28
 		<?php endif; ?>
29 29
 		</ul>
30 30
 	</nav>
31 31
 	<?php endif; ?>
32 32
 <?php endif; ?>
33 33
 
34
-<?php if( !comments_open() && get_comments_number() != '0' && post_type_supports( get_post_type(), 'comments' )) : ?>
34
+<?php if (!comments_open() && get_comments_number() != '0' && post_type_supports(get_post_type(), 'comments')) : ?>
35 35
 	<div class="alert alert-warning">
36
-		<?= __( 'Comments are closed.', 'castor' ); ?>
36
+		<?= __('Comments are closed.', 'castor'); ?>
37 37
 	</div>
38 38
 <?php endif; ?>
39 39
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,9 @@
 block discarded – undo
1 1
 <?php Development::storeTemplatePath( __FILE__ );
2 2
 
3
-if( post_password_required() )return; ?>
3
+if( post_password_required() ) {
4
+	return;
5
+}
6
+?>
4 7
 
5 8
 <section id="comments" class="comments">
6 9
 <?php if( have_comments() ) : ?>
Please login to merge, or discard this patch.
templates/partials/head-favicon.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ ); ?>
1
+<?php Development::storeTemplatePath(__FILE__); ?>
2 2
 
3
-<link href="<?= Theme::imageUri( 'favicon/apple-touch-icon.png' ); ?>" rel="apple-touch-icon" sizes="180x180">
4
-<link href="<?= Theme::imageUri( 'favicon/favicon-32x32.png' ); ?>" rel="icon" type="image/png" sizes="32x32">
5
-<link href="<?= Theme::imageUri( 'favicon/favicon-16x16.png' ); ?>" rel="icon" type="image/png" sizes="16x16">
6
-<link href="<?= Theme::imageUri( 'favicon/manifest.json' ); ?>" rel="manifest">
7
-<link href="<?= Theme::imageUri( 'favicon/safari-pinned-tab.svg' ); ?>" rel="mask-icon" color="#5bbad5">
3
+<link href="<?= Theme::imageUri('favicon/apple-touch-icon.png'); ?>" rel="apple-touch-icon" sizes="180x180">
4
+<link href="<?= Theme::imageUri('favicon/favicon-32x32.png'); ?>" rel="icon" type="image/png" sizes="32x32">
5
+<link href="<?= Theme::imageUri('favicon/favicon-16x16.png'); ?>" rel="icon" type="image/png" sizes="16x16">
6
+<link href="<?= Theme::imageUri('favicon/manifest.json'); ?>" rel="manifest">
7
+<link href="<?= Theme::imageUri('favicon/safari-pinned-tab.svg'); ?>" rel="mask-icon" color="#5bbad5">
8 8
 <meta name="theme-color" content="#263238">
Please login to merge, or discard this patch.
templates/partials/head-seo.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ ); ?>
1
+<?php Development::storeTemplatePath(__FILE__); ?>
2 2
 <?php
3
-	$title = get_bloginfo( 'name' );
4
-	$description = get_bloginfo( 'description' );
3
+	$title = get_bloginfo('name');
4
+	$description = get_bloginfo('description');
5 5
 ?>
6 6
 
7 7
 <!-- SEO -->
8 8
 <meta name="description" content="<?= $description; ?>">
9
-<meta name="copyright" content="<?= sprintf( 'Copyright © %s, %s', date( 'Y' ), $title ); ?>" />
9
+<meta name="copyright" content="<?= sprintf('Copyright © %s, %s', date('Y'), $title); ?>" />
10 10
 <meta name="author" content="Gemini Labs">
11 11
 
12
-<?php if( !Development::isProduction() ) : ?>
12
+<?php if (!Development::isProduction()) : ?>
13 13
 <!-- Robots -->
14 14
 <meta name="robots" content="noindex, nofollow">
15 15
 <?php endif; ?>
Please login to merge, or discard this patch.
templates/partials/entry-meta.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ ); ?>
1
+<?php Development::storeTemplatePath(__FILE__); ?>
2 2
 
3 3
 <time class="updated" datetime="<?= get_post_time('c', true); ?>"><?= get_the_date(); ?></time>
4 4
 <p class="byline author vcard">
5
-	<?= __( 'By', 'castor' ); ?> <a href="<?= get_author_posts_url( get_the_author_meta( 'ID' )); ?>" rel="author" class="fn">
5
+	<?= __('By', 'castor'); ?> <a href="<?= get_author_posts_url(get_the_author_meta('ID')); ?>" rel="author" class="fn">
6 6
 		<?= get_the_author(); ?>
7 7
 	</a>
8 8
 </p>
Please login to merge, or discard this patch.
templates/partials/title.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ ); ?>
1
+<?php Development::storeTemplatePath(__FILE__); ?>
2 2
 
3 3
 <div class="page-header">
4 4
 	<h1><?= Theme::pageTitle(); ?></h1>
Please login to merge, or discard this patch.
templates/partials/outdated.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ );
1
+<?php Development::storeTemplatePath(__FILE__);
2 2
 
3
-printf( '<!--[if lt IE 10]><div class="alert alert-warning">%s</div><![endif]-->',
4
-	__( 'You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to view this page.', 'castor' )
3
+printf('<!--[if lt IE 10]><div class="alert alert-warning">%s</div><![endif]-->',
4
+	__('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to view this page.', 'castor')
5 5
 );
Please login to merge, or discard this patch.
templates/sections/content.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ ); ?>
1
+<?php Development::storeTemplatePath(__FILE__); ?>
2 2
 
3 3
 <article <?php post_class(); ?>>
4 4
 	<header>
5 5
 		<h2 class="entry-title"><a href="<?= get_permalink(); ?>"><?= get_the_title(); ?></a></h2>
6
-		<?php get_template_part( 'partials/entry-meta' ); ?>
6
+		<?php get_template_part('partials/entry-meta'); ?>
7 7
 	</header>
8 8
 	<div class="entry-summary">
9 9
 		<?php the_excerpt(); ?>
Please login to merge, or discard this patch.
templates/sections/sidebar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1
-<?php Development::storeTemplatePath( __FILE__ );
1
+<?php Development::storeTemplatePath(__FILE__);
2 2
 
3
-dynamic_sidebar( 'sidebar-primary' );
3
+dynamic_sidebar('sidebar-primary');
Please login to merge, or discard this patch.