<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[30394] trunk/src/wp-content/themes/twentyfifteen: Twenty Fifteen: doc cleanup, addresses removing periods from file header summaries, some spacing, loop documentation, and https instead of http.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/30394">30394</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/30394","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>iandstewart</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2014-11-19 20:27:09 +0000 (Wed, 19 Nov 2014)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Twenty Fifteen: doc cleanup, addresses removing periods from file header summaries, some spacing, loop documentation, and https instead of http.
Props DrewAPicture, MikeHansenMe, see <a href="https://core.trac.wordpress.org/ticket/30149">#30149</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfifteen404php">trunk/src/wp-content/themes/twentyfifteen/404.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenarchivephp">trunk/src/wp-content/themes/twentyfifteen/archive.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenauthorbiophp">trunk/src/wp-content/themes/twentyfifteen/author-bio.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteencommentsphp">trunk/src/wp-content/themes/twentyfifteen/comments.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteencontentlinkphp">trunk/src/wp-content/themes/twentyfifteen/content-link.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteencontentnonephp">trunk/src/wp-content/themes/twentyfifteen/content-none.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteencontentpagephp">trunk/src/wp-content/themes/twentyfifteen/content-page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteencontentsearchphp">trunk/src/wp-content/themes/twentyfifteen/content-search.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteencontentphp">trunk/src/wp-content/themes/twentyfifteen/content.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenfooterphp">trunk/src/wp-content/themes/twentyfifteen/footer.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenfunctionsphp">trunk/src/wp-content/themes/twentyfifteen/functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenheaderphp">trunk/src/wp-content/themes/twentyfifteen/header.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenimagephp">trunk/src/wp-content/themes/twentyfifteen/image.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenindexphp">trunk/src/wp-content/themes/twentyfifteen/index.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenpagephp">trunk/src/wp-content/themes/twentyfifteen/page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenrtlcss">trunk/src/wp-content/themes/twentyfifteen/rtl.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteensearchphp">trunk/src/wp-content/themes/twentyfifteen/search.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteensidebarphp">trunk/src/wp-content/themes/twentyfifteen/sidebar.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteensinglephp">trunk/src/wp-content/themes/twentyfifteen/single.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfifteenstylecss">trunk/src/wp-content/themes/twentyfifteen/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentyfifteen404php"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/404.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/404.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/404.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying 404 pages (not found).
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying 404 pages (not found)
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,4 +27,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .content-area -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php get_footer(); ?>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenarchivephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/archive.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/archive.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/archive.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying archive pages.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying archive pages
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Used to display archive-type pages if nothing more specific matches a query.
</span><span class="cx" style="display: block; padding: 0 10px"> * For example, puts together date-based pages if no date.php file exists.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,7 +10,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * already has tag.php for Tag archives, category.php for Category archives,
</span><span class="cx" style="display: block; padding: 0 10px"> * and author.php for Author archives.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @link http://codex.wordpress.org/Template_Hierarchy
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @link https://codex.wordpress.org/Template_Hierarchy
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,34 +31,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </header><!-- .page-header -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php /* Start the Loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Start the Loop.
+ while ( have_posts() ) : the_post();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- /* Include the Post-Format-specific template for the content.
- * If you want to override this in a child theme, then include a file
- * called content-___.php (where ___ is the Post Format name) and that will be used instead.
- */
- get_template_part( 'content', get_post_format() );
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /*
+ * Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'content', get_post_format() );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endwhile; ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // End the loop.
+ endwhile;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- the_pagination( array(
- 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
- 'next_text' => __( 'Next page', 'twentyfifteen' ),
- 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
- ) );
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Previous/next page navigation.
+ the_pagination( array(
+ 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
+ 'next_text' => __( 'Next page', 'twentyfifteen' ),
+ 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
+ ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php else : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If no content, include the "No posts found" template.
+ else :
+ get_template_part( 'content', 'none' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php get_template_part( 'content', 'none' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ endif;
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endif; ?>
-
</del><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><span class="cx" style="display: block; padding: 0 10px"> </section><!-- .content-area -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php get_footer(); ?>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenauthorbiophp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/author-bio.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/author-bio.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/author-bio.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying Author bios.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying Author bios
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,16 +20,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $size The avatar height and width size in pixels.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $author_bio_avatar_size = apply_filters( 'twentyfifteen_author_bio_avatar_size', 56 );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .author-avatar -->
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="author-description">
</span><span class="cx" style="display: block; padding: 0 10px"> <h3 class="author-title"><?php echo get_the_author(); ?></h3>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <p class="author-bio">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php the_author_meta( 'description' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="cx" style="display: block; padding: 0 10px"> </p><!-- .author-bio -->
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .author-description -->
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</div><!-- .author-info -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+</div><!-- .author-info -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteencommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/comments.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/comments.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying comments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying comments
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The area of the page that contains both current comments
</span><span class="cx" style="display: block; padding: 0 10px"> * and the comment form.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,4 +55,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php comment_form(); ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</div><!-- .comments-area -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+</div><!-- .comments-area -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteencontentlinkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/content-link.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/content-link.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/content-link.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying link post formats.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying link post formats
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Used for both single and index/archive/search.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -45,6 +45,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- .entry-content -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Author bio.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( is_single() && get_the_author_meta( 'description' ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> get_template_part( 'author-bio' );
</span><span class="cx" style="display: block; padding: 0 10px"> endif;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,4 +56,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php edit_post_link( esc_html__( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </footer>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- .entry-footer -->
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</article><!-- #post-## -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteencontentnonephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/content-none.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/content-none.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/content-none.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,8 +1,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template part for displaying a message that posts cannot be found.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template part for displaying a message that posts cannot be found
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Learn more: http://codex.wordpress.org/Template_Hierarchy
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,6 +16,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </header><!-- .page-header -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="page-content">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,5 +32,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php get_search_form(); ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .page-content -->
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</section><!-- .no-results -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+</section><!-- .no-results -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteencontentpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/content-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/content-page.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/content-page.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template used for displaying page content.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template used for displaying page content
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,7 +9,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php twentyfifteen_post_thumbnail(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Post thumbnail.
+ twentyfifteen_post_thumbnail();
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <header class="entry-header">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,4 +34,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php edit_post_link( esc_html__( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</article><!-- #post-## -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteencontentsearchphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/content-search.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/content-search.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/content-search.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,8 +1,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template part for displaying results in search pages.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template part for displaying results in search pages
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Learn more: http://codex.wordpress.org/Template_Hierarchy
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,11 +22,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .entry-summary -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( 'post' == get_post_type() ) : ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <footer class="entry-footer">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php twentyfifteen_entry_meta(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php edit_post_link( esc_html__( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </footer><!-- .entry-footer -->
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php else : ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php edit_post_link( esc_html__( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</article><!-- #post-## -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteencontentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/content.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/content.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The default template for displaying content.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The default template for displaying content
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Used for both single and index/archive/search.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,7 +11,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php twentyfifteen_post_thumbnail(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Post thumbnail.
+ twentyfifteen_post_thumbnail();
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <header class="entry-header">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,6 +46,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .entry-content -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Author bio.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( is_single() && get_the_author_meta( 'description' ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> get_template_part( 'author-bio' );
</span><span class="cx" style="display: block; padding: 0 10px"> endif;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -52,4 +56,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php twentyfifteen_entry_meta(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php edit_post_link( esc_html__( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </footer><!-- .entry-footer -->
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</article><!-- #post-## -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenfooterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/footer.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/footer.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying the footer.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying the footer
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Contains the closing of the "site-content" div and all content after.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,12 +22,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'twentyfifteen_credits' );
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .site-info -->
</span><span class="cx" style="display: block; padding: 0 10px"> </footer><!-- .site-footer -->
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .site -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php wp_footer(); ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </body>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</html>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+</html>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/functions.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/functions.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Twenty Fifteen functions and definitions.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Twenty Fifteen functions and definitions
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Set up the theme and provides some helper functions, which are used in the
</span><span class="cx" style="display: block; padding: 0 10px"> * theme as custom template tags. Others are attached to action and filter
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,14 +11,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * functions.php file. The child theme's functions.php file is included before
</span><span class="cx" style="display: block; padding: 0 10px"> * the parent theme's file, so the child theme functions would be used.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @link http://codex.wordpress.org/Theme_Development
- * @link http://codex.wordpress.org/Child_Themes
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @link https://codex.wordpress.org/Theme_Development
+ * @link https://codex.wordpress.org/Child_Themes
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Functions that are not pluggable (not wrapped in function_exists()) are
</span><span class="cx" style="display: block; padding: 0 10px"> * instead attached to a filter or action hook.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * For more information on hooks, actions, and filters,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @link http://codex.wordpress.org/Plugin_API
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * {@link https://codex.wordpress.org/Plugin_API}
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -75,7 +75,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * Enable support for Post Thumbnails on posts and pages.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * See: https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add_theme_support( 'post-thumbnails' );
</span><span class="cx" style="display: block; padding: 0 10px"> set_post_thumbnail_size( 825, 510, true );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -96,7 +96,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * Enable support for Post Formats.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * See http://codex.wordpress.org/Post_Formats
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * See: https://codex.wordpress.org/Post_Formats
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add_theme_support( 'post-formats', array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'aside', 'image', 'video', 'quote', 'link', 'gallery', 'status', 'audio', 'chat'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -125,7 +126,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since Twenty Fifteen 1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @link http://codex.wordpress.org/Function_Reference/register_sidebar
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @link https://codex.wordpress.org/Function_Reference/register_sidebar
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function twentyfifteen_widgets_init() {
</span><span class="cx" style="display: block; padding: 0 10px"> register_sidebar( array(
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/header.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/header.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,8 +1,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The header for our theme.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying the header
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Displays all of the <head> section and everything up until the "site-content" div.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Displays all of the <head> section and everything up until the "site-content" div.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,4 +48,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php get_sidebar(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .sidebar -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div id="content" class="site-content">
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div id="content" class="site-content">
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenimagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/image.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/image.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying all single posts and attachments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying image attachments
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,9 +12,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="primary" class="content-area">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main" role="main">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php while ( have_posts() ) : the_post(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Start the loop.
+ while ( have_posts() ) : the_post();
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <nav id="image-navigation" class="navigation image-navigation">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="nav-links">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="nav-previous"><?php previous_image_link( false, esc_html__( 'Previous Image', 'twentyfifteen' ) ); ?></div><div class="nav-next"><?php next_image_link( false, esc_html__( 'Next Image', 'twentyfifteen' ) ); ?></div>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,6 +30,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </header><!-- .entry-header -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="entry-content">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="entry-attachment">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,6 +41,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $image_size Image size. Default 'large'.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $image_size = apply_filters( 'twentyfifteen_attachment_size', 'large' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> echo wp_get_attachment_image( get_the_ID(), $image_size );
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,6 +50,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php the_excerpt(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .entry-caption -->
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .entry-attachment -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -63,6 +70,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php twentyfifteen_entry_meta(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php edit_post_link( esc_html__( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </footer><!-- .entry-footer -->
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> </article><!-- #post-## -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -70,17 +78,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( comments_open() || get_comments_number() ) :
</span><span class="cx" style="display: block; padding: 0 10px"> comments_template();
</span><span class="cx" style="display: block; padding: 0 10px"> endif;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ?>
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Previous/next post navigation.
</ins><span class="cx" style="display: block; padding: 0 10px"> the_post_navigation( array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'prev_text' => _x( '<span class="meta-nav">Published in</span><span class="post-title">%title</span>', 'Parent post link', 'twentyfifteen' ),
</span><span class="cx" style="display: block; padding: 0 10px"> ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ?>
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endwhile; // end of the loop. ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // End the loop.
+ endwhile;
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .content-area -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php get_footer(); ?>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/index.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/index.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,14 +1,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The main template file.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The main template file
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * This is the most generic template file in a WordPress theme
</span><span class="cx" style="display: block; padding: 0 10px"> * and one of the two required files for a theme (the other being style.css).
</span><span class="cx" style="display: block; padding: 0 10px"> * It is used to display a page when nothing more specific matches a query.
</span><span class="cx" style="display: block; padding: 0 10px"> * e.g., it puts together the home page when no home.php file exists.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Learn more: http://codex.wordpress.org/Template_Hierarchy
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @link http://codex.wordpress.org/Template_Hierarchy
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,33 +27,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </header>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php while ( have_posts() ) : the_post(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Start the loop.
+ while ( have_posts() ) : the_post();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- /* Include the Post-Format-specific template for the content.
- * If you want to override this in a child theme, then include a file
- * called content-___.php (where ___ is the Post Format name) and that will be used instead.
- */
- get_template_part( 'content', get_post_format() );
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /*
+ * Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'content', get_post_format() );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endwhile; ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // End the loop.
+ endwhile;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- the_pagination( array(
- 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
- 'next_text' => __( 'Next page', 'twentyfifteen' ),
- 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
- ) );
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Previous/next page navigation.
+ the_pagination( array(
+ 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
+ 'next_text' => __( 'Next page', 'twentyfifteen' ),
+ 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
+ ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php else : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If no content, include the "No posts found" template.
+ else :
+ get_template_part( 'content', 'none' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php get_template_part( 'content', 'none' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ endif;
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endif; ?>
-
</del><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .content-area -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php get_footer(); ?>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/page.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/page.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying pages.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying pages
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * This is the template that displays all pages by default.
</span><span class="cx" style="display: block; padding: 0 10px"> * Please note that this is the WordPress construct of pages and that
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,20 +16,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="primary" class="content-area">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main" role="main">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php while ( have_posts() ) : the_post(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Start the loop.
+ while ( have_posts() ) : the_post();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php get_template_part( 'content', 'page' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Include the page content template.
+ get_template_part( 'content', 'page' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- // If comments are open or we have at least one comment, load up the comment template
- if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif;
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If comments are open or we have at least one comment, load up the comment template.
+ if ( comments_open() || get_comments_number() ) :
+ comments_template();
+ endif;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endwhile; // end of the loop. ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // End the loop.
+ endwhile;
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .content-area -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php get_footer(); ?>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenrtlcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/rtl.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/rtl.css 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/rtl.css 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> It's easy, just a matter of overwriting all the horizontal positioning attributes
</span><span class="cx" style="display: block; padding: 0 10px"> of your CSS stylesheet in a separate stylesheet file named rtl.css.
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-See http://codex.wordpress.org/Right_to_Left_Language_Support
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+See: https://codex.wordpress.org/Right_to_Left_Language_Support
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteensearchphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/search.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/search.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/search.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,34 +18,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <h1 class="page-title"><?php printf( esc_html__( 'Search Results for: %s', 'twentyfifteen' ), get_search_query() ); ?></h1>
</span><span class="cx" style="display: block; padding: 0 10px"> </header><!-- .page-header -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php /* Start the Loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Start the loop.
+ while ( have_posts() ) : the_post(); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /**
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /*
</ins><span class="cx" style="display: block; padding: 0 10px"> * Run the loop for the search to output the results.
</span><span class="cx" style="display: block; padding: 0 10px"> * If you want to overload this in a child theme then include a file
</span><span class="cx" style="display: block; padding: 0 10px"> * called content-search.php and that will be used instead.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> get_template_part( 'content', 'search' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ?>
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endwhile; ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // End the loop.
+ endwhile;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- the_pagination( array(
- 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
- 'next_text' => __( 'Next page', 'twentyfifteen' ),
- 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
- ) );
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Previous/next page navigation.
+ the_pagination( array(
+ 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
+ 'next_text' => __( 'Next page', 'twentyfifteen' ),
+ 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
+ ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php else : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If no content, include the "No posts found" template.
+ else :
+ get_template_part( 'content', 'none' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php get_template_part( 'content', 'none' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ endif;
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endif; ?>
-
</del><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><span class="cx" style="display: block; padding: 0 10px"> </section><!-- .content-area -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteensidebarphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/sidebar.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/sidebar.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/sidebar.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The sidebar containing the main widget area.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The sidebar containing the main widget area
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,34 +9,39 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( has_nav_menu( 'primary' ) || has_nav_menu( 'social' ) || is_active_sidebar( 'sidebar-1' ) ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="secondary" class="secondary">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php if ( has_nav_menu( 'primary' ) ) : ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <nav id="site-navigation" class="main-navigation" role="navigation">
- <?php
- wp_nav_menu( array(
- 'menu_class' => 'nav-menu',
- 'theme_location' => 'primary',
- ) );
- ?>
- </nav><!-- .main-navigation -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <nav id="site-navigation" class="main-navigation" role="navigation">
+ <?php
+ // Primary navigation menu.
+ wp_nav_menu( array(
+ 'menu_class' => 'nav-menu',
+ 'theme_location' => 'primary',
+ ) );
+ ?>
+ </nav><!-- .main-navigation -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( has_nav_menu( 'social' ) ) : ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <nav id="social-navigation" class="social-navigation" role="navigation">
- <?php
- wp_nav_menu( array(
- 'theme_location' => 'social',
- 'depth' => 1,
- 'link_before' => '<span class="screen-reader-text">',
- 'link_after' => '</span>',
- ) );
- ?>
- </nav><!-- .social-navigation -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <nav id="social-navigation" class="social-navigation" role="navigation">
+ <?php
+ // Social links navigation menu.
+ wp_nav_menu( array(
+ 'theme_location' => 'social',
+ 'depth' => 1,
+ 'link_before' => '<span class="screen-reader-text">',
+ 'link_after' => '</span>',
+ ) );
+ ?>
+ </nav><!-- .social-navigation -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div id="widget-area" class="widget-area" role="complementary">
- <?php dynamic_sidebar( 'sidebar-1' ); ?>
- </div><!-- .widget-area -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div id="widget-area" class="widget-area" role="complementary">
+ <?php dynamic_sidebar( 'sidebar-1' ); ?>
+ </div><!-- .widget-area -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .secondary -->
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php endif; ?>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+<?php endif; ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteensinglephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/single.php 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/single.php 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The template for displaying all single posts and attachments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The template for displaying all single posts and attachments
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Fifteen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,27 +12,33 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="primary" class="content-area">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main" role="main">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php while ( have_posts() ) : the_post(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ // Start the loop.
+ while ( have_posts() ) : the_post();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php get_template_part( 'content', get_post_format() ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /*
+ * Include the post format-specific template for the content. If you want to
+ * use this in a child theme, then include a file called called content-___.php
+ * (where ___ is the post format) and that will be used instead.
+ */
+ get_template_part( 'content', get_post_format() );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- // If comments are open or we have at least one comment, load up the comment template
- if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif;
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If comments are open or we have at least one comment, load up the comment template.
+ if ( comments_open() || get_comments_number() ) :
+ comments_template();
+ endif;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- the_post_navigation( array(
- 'next_text' => _x( '<span class="meta-nav">Next <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Next post link', 'twentyfifteen' ),
- 'prev_text' => _x( '<span class="meta-nav">Previous <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Previous post link', 'twentyfifteen' )
- ) );
- ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Previous/next post navigation.
+ the_post_navigation( array(
+ 'next_text' => _x( '<span class="meta-nav">Next <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Next post link', 'twentyfifteen' ),
+ 'prev_text' => _x( '<span class="meta-nav">Previous <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Previous post link', 'twentyfifteen' )
+ ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endwhile; // end of the loop. ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // End the loop.
+ endwhile;
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .content-area -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php get_footer(); ?>
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfifteenstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfifteen/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfifteen/style.css 2014-11-19 19:36:43 UTC (rev 30393)
+++ trunk/src/wp-content/themes/twentyfifteen/style.css 2014-11-19 20:27:09 UTC (rev 30394)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,8 +1,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> Theme Name: Twenty Fifteen
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-Theme URI: http://wordpress.org/themes/twentyfifteen
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Theme URI: https://wordpress.org/themes/twentyfifteen
</ins><span class="cx" style="display: block; padding: 0 10px"> Author: the WordPress team
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-Author URI: http://wordpress.org/
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Author URI: https://wordpress.org/
</ins><span class="cx" style="display: block; padding: 0 10px"> Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
</span><span class="cx" style="display: block; padding: 0 10px"> Version: 0.1
</span><span class="cx" style="display: block; padding: 0 10px"> License: GNU General Public License v2 or later
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2593,10 +2593,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * 15.0 Media Queries
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/* Does the same thing as <meta name="viewport" content="width=device-width">,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+ * Does the same thing as <meta name="viewport" content="width=device-width">,
</ins><span class="cx" style="display: block; padding: 0 10px"> * but in the future W3C standard way. -ms- prefix is required for IE10+ to
</span><span class="cx" style="display: block; padding: 0 10px"> * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> @-ms-viewport {
</span><span class="cx" style="display: block; padding: 0 10px"> width: device-width;
</span></span></pre>
</div>
</div>
</body>
</html>