<!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>[6277] sites/trunk/wordpress.org/public_html/wp-content/themes/pub: Main: Conform to WPCS.</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="http://meta.trac.wordpress.org/changeset/6277">6277</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/6277","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>obenland</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2017-12-15 00:13:33 +0000 (Fri, 15 Dec 2017)</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'>Main: Conform to WPCS.
See <a href="http://meta.trac.wordpress.org/ticket/2861">#2861</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporg404php">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/404.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgGruntfilejs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/Gruntfile.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgarchivephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/archive.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgcommentsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/comments.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgfooterphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgfunctionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgheaderpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgheaderwporgphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgincfooterphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/footer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgincheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporginctemplatetagsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/template-tags.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgjscustomizerjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/customizer.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgjsnavigationjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/navigation.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgjsskiplinkfocusfixjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/skip-link-focus-fix.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgsearchphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/search.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgsidebarphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/sidebar.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgsinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/single.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgstylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgtemplatepartscontentnonephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-none.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgtemplatepartscontentpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgtemplatepartscontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainGruntfilejs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/Gruntfile.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainfrontpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainfunctionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmaininctemplatetagsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainpagereleasesphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-releases.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainpagetemplatesdownloadphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-templates/download.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainpagetxtdownloadphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-txt-download.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainstylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainwidgetsclasswporgwidgetdownloadphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/widgets/class-wporg-widget-download.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporg404php"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/404.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/404.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/404.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,11 +19,19 @@
</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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p><?php printf( __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg' ), get_home_url() ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p>
+ <?php
+ printf(
+ /* translators: Home URL. */
+ __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg' ), // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
+ esc_url( get_home_url() )
+ );
+ ?>
+ </p>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="logo-swing">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <img src="<?php echo get_theme_file_uri( '/images/wp-logo-blue-trans-blur.png' ); ?>" class="wp-logo" />
- <img id="hinge" src="<?php echo get_theme_file_uri( '/images/wp-logo-blue.png' ); ?>" class="wp-logo hinge" />
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <img src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue-trans-blur.png' ) ); ?>" class="wp-logo" />
+ <img id="hinge" src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue.png' ) ); ?>" class="wp-logo hinge" />
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .page-content -->
</span><span class="cx" style="display: block; padding: 0 10px"> </section><!-- .error-404 -->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgGruntfilejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/Gruntfile.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/Gruntfile.js 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/Gruntfile.js 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Gruntfile.js
+ *
+ * @package WordPressdotorg\Theme
+ */
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* global module:false, require:function, process:object */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> require( 'es6-promise' ).polyfill();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> cascade: false
</span><span class="cx" style="display: block; padding: 0 10px"> } ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- require( 'pixrem' )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ require( 'pixrem' ),
</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"> dist: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,10 +36,7 @@
</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"> jshint: {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- files: [
- 'Gruntfile.js',
- 'js/**/*.js'
- ],
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ files: [ 'Gruntfile.js', 'js/**/*.js' ],
</ins><span class="cx" style="display: block; padding: 0 10px"> options: grunt.file.readJSON( '.jshintrc' )
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> sass: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,10 +58,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var files = {};
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ['settings', 'tools', 'generic', 'base', 'objects', 'components', 'trumps'].forEach( function( component ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var paths = [
- '../wporg/css/' + component + '/**/*.scss',
- '!../wporg/css/' + component + '/_' + component + '.scss'
- ];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var paths = [ '../wporg/css/' + component + '/**/*.scss', '!../wporg/css/' + component + '/_' + component + '.scss' ];
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isChild ) {
</span><span class="cx" style="display: block; padding: 0 10px"> paths.push( 'css/' + component + '/**/*.scss' );
</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"> rtlcss: {
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // rtlcss options
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // rtlcss options.
</ins><span class="cx" style="display: block; padding: 0 10px"> opts: {
</span><span class="cx" style="display: block; padding: 0 10px"> clean: false,
</span><span class="cx" style="display: block; padding: 0 10px"> processUrls: { atrule: true, decl: false },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,7 +90,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> scope: 'url',
</span><span class="cx" style="display: block; padding: 0 10px"> ignoreCase: false
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
</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"> saveUnmodified: false,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -106,24 +106,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> {
</span><span class="cx" style="display: block; padding: 0 10px"> expr: /content/im,
</span><span class="cx" style="display: block; padding: 0 10px"> action: function( prop, value ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( value === '"\\f141"' ) { // dashicons-arrow-left
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( value === '"\\f141"' ) { // dashicons-arrow-left.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f139"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f340"' ) { // dashicons-arrow-left-alt
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f340"' ) { // dashicons-arrow-left-alt.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f344"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f341"' ) { // dashicons-arrow-left-alt2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f341"' ) { // dashicons-arrow-left-alt2.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f345"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f139"' ) { // dashicons-arrow-right
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f139"' ) { // dashicons-arrow-right.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f141"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f344"' ) { // dashicons-arrow-right-alt
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f344"' ) { // dashicons-arrow-right-alt.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f340"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f345"' ) { // dashicons-arrow-right-alt2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f345"' ) { // dashicons-arrow-right-alt2.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f341"';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return { prop: prop, value: value };
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
</ins><span class="cx" style="display: block; padding: 0 10px"> ]
</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">+ } // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
</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"> dynamic: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -150,14 +150,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> grunt.config.merge( { postcss: { options : { processors: [ require( 'cssnano' ) ] } } } );
</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">- grunt.loadNpmTasks('grunt-sass');
- grunt.loadNpmTasks('grunt-rtlcss');
- grunt.loadNpmTasks('grunt-postcss');
- grunt.loadNpmTasks('grunt-sass-globbing');
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.loadNpmTasks('grunt-contrib-jshint');
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ grunt.loadNpmTasks( 'grunt-sass' );
+ grunt.loadNpmTasks( 'grunt-rtlcss' );
+ grunt.loadNpmTasks( 'grunt-postcss' );
+ grunt.loadNpmTasks( 'grunt-sass-globbing' );
+ grunt.loadNpmTasks( 'grunt-contrib-watch' );
+ grunt.loadNpmTasks( 'grunt-contrib-jshint' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- grunt.registerTask('css', ['sass_globbing', 'sass', 'postcss', 'rtlcss:dynamic']);
- grunt.registerTask('default', ['jshint', 'css']);
- grunt.registerTask('build', ['css']);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ grunt.registerTask( 'css', ['sass_globbing', 'sass', 'postcss', 'rtlcss:dynamic'] );
+ grunt.registerTask( 'default', ['jshint', 'css'] );
+ grunt.registerTask( 'build', ['css'] );
</ins><span class="cx" style="display: block; padding: 0 10px"> };
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgarchivephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/archive.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/archive.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/archive.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,12 +9,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_header( 'page' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+get_header();
+?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main col-8" 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
- if ( have_posts() ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php if ( have_posts() ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <header class="page-header">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,7 +36,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> else :
</span><span class="cx" style="display: block; padding: 0 10px"> get_template_part( 'template-parts/content', 'none' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- endif; ?>
</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><span class="cx" style="display: block; padding: 0 10px"> </main><!-- #main -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgcommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/comments.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/comments.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,19 +26,20 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> // You can start editing here -- including this comment!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( have_comments() ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( have_comments() ) :
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> <h2 class="comments-title">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> $comment_count = get_comments_number();
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 1 === $comment_count ) {
</span><span class="cx" style="display: block; padding: 0 10px"> printf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: 1: title. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: 1: title. */
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html_e( 'One thought on “%1$s”', 'wporg' ),
</span><span class="cx" style="display: block; padding: 0 10px"> '<span>' . get_the_title() . '</span>'
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> printf( // WPCS: XSS OK.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: 1: comment count number, 2: title. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: 1: comment count number, 2: title. */
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'wporg' ) ),
</span><span class="cx" style="display: block; padding: 0 10px"> number_format_i18n( $comment_count ),
</span><span class="cx" style="display: block; padding: 0 10px"> '<span>' . get_the_title() . '</span>'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -58,12 +59,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </ol><!-- .comment-list -->
</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 the_comments_navigation();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ the_comments_navigation();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If comments are closed and there are comments, let's leave a little note, shall we?
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( ! comments_open() ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( ! comments_open() ) :
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'wporg' ); ?></p>
</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">+ <?php
</ins><span class="cx" style="display: block; padding: 0 10px"> endif;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> endif; // Check for have_comments().
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -73,4 +76,4 @@
</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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-</div><!-- #comments -->
</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 -->
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgfooterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,10 +10,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"> namespace WordPressdotorg\Theme;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</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"> </div><!-- #content -->
</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
-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
</ins><span class="cx" style="display: block; padding: 0 10px"> require WPORGPATH . 'footer.php';
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/functions.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/functions.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,7 +31,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Add default posts and comments RSS feed links to head.
</span><span class="cx" style="display: block; padding: 0 10px"> add_theme_support( 'automatic-feed-links' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Don't include Adjacent Posts functionality
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Don't include Adjacent Posts functionality.
</ins><span class="cx" style="display: block; padding: 0 10px"> remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // This theme uses wp_nav_menu() in one location.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -80,9 +80,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function scripts() {
</span><span class="cx" style="display: block; padding: 0 10px"> $suffix = is_rtl() ? '-rtl' : '';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- wp_enqueue_style( 'wporg-style', get_stylesheet_directory_uri() . "/css/style{$suffix}.css", ['dashicons', 'open-sans'], '20171207' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ wp_enqueue_style( 'wporg-style', get_stylesheet_directory_uri() . "/css/style{$suffix}.css", [ 'dashicons', 'open-sans' ], '20171207' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //wp_enqueue_script( 'wporg-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // phpcs:ignore Squiz.PHP.CommentedOutCode.Found, Squiz.Commenting.InlineComment.InvalidEndChar
+ // wp_enqueue_script( 'wporg-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
</ins><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_script( 'wporg-plugins-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_front_page() && is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -122,7 +123,7 @@
</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"> // Remove version argument.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( in_array( $handle, ['open-sans'], true ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( in_array( $handle, [ 'open-sans' ], true ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $src = remove_query_arg( 'ver', $src );
</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">@@ -136,8 +137,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param \WP_Customize_Manager $wp_customize Theme Customizer object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function customize_register( $wp_customize ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
- $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
+ $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'customize_register', __NAMESPACE__ . '\customize_register' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -147,7 +148,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function customize_preview_js() {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_script( 'wporg_plugins_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-add_action( 'customize_preview_init', __NAMESPACE__ . '\customize_preview_js' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_action( 'customize_preview_init', __NAMESPACE__ . '\customize_preview_js' );
</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 class="lines" style="display: block; padding: 0 10px; color: #888">@@ -159,9 +160,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function hreflang_link_attributes() {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_cache_add_global_groups( array( 'locale-associations' ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( false === ( $sites = wp_cache_get( 'local-sites', 'locale-associations' ) ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $sites = wp_cache_get( 'local-sites', 'locale-associations' );
+
+ if ( false === $sites ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wpdb;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // phpcs:ignore WordPress.VIP.DirectDatabaseQuery.DirectQuery
</ins><span class="cx" style="display: block; padding: 0 10px"> $sites = $wpdb->get_results( 'SELECT locale, subdomain FROM locales', OBJECT_K );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $sites ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -187,7 +191,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $sites['en_US'] = (object) array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'locale' => 'en_US',
</span><span class="cx" style="display: block; padding: 0 10px"> 'hreflang' => 'en',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'subdomain' => ''
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'subdomain' => '',
</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"> uasort( $sites, function( $a, $b ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -201,7 +205,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $url = sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> 'https://%swordpress.org%s',
</span><span class="cx" style="display: block; padding: 0 10px"> $site->subdomain ? "{$site->subdomain}." : '',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $_SERVER[ 'REQUEST_URI' ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $_SERVER['REQUEST_URI'] // phpcs:ignore
</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"> printf(
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgheaderpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-page.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-page.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,12 @@
</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 pages.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The Header template for pages in our theme.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * This is the template that displays all pages by default.
- * Please note that this is the WordPress construct of pages
- * and that other 'pages' on your WordPress site may use a
- * different template.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Displays all of the <head> section and everything up till <div id="content">
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @link https://codex.wordpress.org/Template_Hierarchy
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @package WordPressdotorg\Plugin_Directory\Theme
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @package WordPressdotorg\Theme
</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"> namespace WordPressdotorg\Theme;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,4 +16,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="page" class="site">
</span><span class="cx" style="display: block; padding: 0 10px"> <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'wporg' ); ?></a>
</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 row gutters">
</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 row gutters">
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgheaderwporgphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,14 @@
</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">+/**
+ * The Header template for pages in our theme.
+ *
+ * Displays all of the <head> section and the wp.org header.
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPressdotorg\Theme
+ */
+
</ins><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> require WPORGPATH . 'header.php';
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,12 @@
</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 pages.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The Header template for our theme.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * This is the template that displays all pages by default.
- * Please note that this is the WordPress construct of pages
- * and that other 'pages' on your WordPress site may use a
- * different template.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Displays all of the <head> section and everything up till <div id="content">
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @link https://codex.wordpress.org/Template_Hierarchy
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @package WordPressdotorg\Plugin_Directory\Theme
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @package WordPressdotorg\Theme
</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"> namespace WordPressdotorg\Theme;
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgincfooterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/footer.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/footer.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,6 +8,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPressdotorg\Theme
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</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"> <div id="wporg-footer">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgincheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/header.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/header.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,6 +10,7 @@
</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"> namespace WordPressdotorg\Theme;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <!doctype html>
</span><span class="cx" style="display: block; padding: 0 10px"> <html <?php language_attributes(); ?>>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporginctemplatetagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/template-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/template-tags.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/inc/template-tags.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,51 +8,59 @@
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! function_exists( __NAMESPACE__ . '\entry_meta' ) ) :
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/**
- * Prints HTML with meta information for the categories, tags.
- *
- * Create your own WordPressdotorg\Theme\entry_meta() function to override in a child theme.
- */
-function entry_meta() {
- if ( in_array( get_post_type(), array( 'post', 'attachment' ) ) ) {
- $time_string = sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>',
- esc_url( get_permalink() ),
- get_entry_date()
- );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * Prints HTML with meta information for the categories, tags.
+ *
+ * Create your own WordPressdotorg\Theme\entry_meta() function to override in a child theme.
+ */
+ function entry_meta() {
+ if ( in_array( get_post_type(), array( 'post', 'attachment' ), true ) ) {
+ $time_string = sprintf(
+ '<a href="%1$s" rel="bookmark">%2$s</a>',
+ esc_url( get_permalink() ),
+ get_entry_date()
+ );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $author_string = sprintf(
- '<span class="entry-author vcard"><a class="url fn n" href="%1$s">%2$s</a></span>',
- esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
- get_the_author()
- );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $author_string = sprintf(
+ '<span class="entry-author vcard"><a class="url fn n" href="%1$s">%2$s</a></span>',
+ esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
+ get_the_author()
+ );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- printf(
- /* translators: 1: post date 2: post author */
- '<span class="posted-on">' . __( 'Posted on %1$s by %2$s.', 'wporg' ) . '</span>',
- $time_string,
- $author_string
- );
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // phpcs:disable WordPress.XSS.EscapeOutput.OutputNotEscaped
+ printf(
+ /* translators: 1: post date 2: post author */
+ '<span class="posted-on">' . __( 'Posted on %1$s by %2$s.', 'wporg' ) . '</span>',
+ $time_string,
+ $author_string
+ );
+ // phpcs:enable WordPress.XSS.EscapeOutput.OutputNotEscaped
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $format = get_post_format();
- if ( current_theme_supports( 'post-formats', $format ) ) {
- printf( '<span class="entry-format">%1$s<a href="%2$s">%3$s</a></span>',
- sprintf( '<span class="screen-reader-text">%s </span>', _x( 'Format', 'Used before post format.', 'wporg' ) ),
- esc_url( get_post_format_link( $format ) ),
- get_post_format_string( $format )
- );
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $format = get_post_format();
+ if ( current_theme_supports( 'post-formats', $format ) ) {
+ printf(
+ '<span class="entry-format">%1$s<a href="%2$s">%3$s</a></span>',
+ sprintf( '<span class="screen-reader-text">%s </span>', esc_html_x( 'Format', 'Used before post format.', 'wporg' ) ),
+ esc_url( get_post_format_link( $format ) ),
+ esc_html( get_post_format_string( $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">- if ( 'post' === get_post_type() ) {
- entry_taxonomies();
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( 'post' === get_post_type() ) {
+ entry_taxonomies();
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( ! is_singular() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
- echo '<span class="comments-link">';
- comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'wporg' ), get_the_title() ) );
- echo '</span>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( ! is_singular() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
+ echo '<span class="comments-link">';
+ comments_popup_link( sprintf(
+ /* translators: Post title. */
+ __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'wporg' ),
+ get_the_title()
+ ) );
+ echo '</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">-}
</del><span class="cx" style="display: block; padding: 0 10px"> endif;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! function_exists( __NAMESPACE__ . '\get_entry_date' ) ) :
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -68,7 +76,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
</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">- return sprintf( $time_string,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return sprintf(
+ $time_string,
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_attr( get_the_date( 'c' ) ),
</span><span class="cx" style="display: block; padding: 0 10px"> get_the_date(),
</span><span class="cx" style="display: block; padding: 0 10px"> esc_attr( get_the_modified_date( 'c' ) ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,70 +93,75 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Create your own WordPressdotorg\Theme\entry_date() function to override in a child theme.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function entry_date() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- printf( '<span class="posted-on">%1$s <a href="%2$s" rel="bookmark">%3$s</a></span>',
- _x( 'Posted on', 'Used before publish date.', 'wporg' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ printf(
+ '<span class="posted-on">%1$s <a href="%2$s" rel="bookmark">%3$s</a></span>',
+ esc_html_x( 'Posted on', 'Used before publish date.', 'wporg' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_url( get_permalink() ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- get_entry_date()
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ get_entry_date() // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
</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"> endif;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! function_exists( __NAMESPACE__ . '\entry_taxonomies' ) ) :
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/**
- * Prints HTML with category and tags for current post.
- *
- * Create your own WordPressdotorg\Theme\entry_taxonomies() function to override in a child theme.
- */
-function entry_taxonomies() {
- $categories_list = get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'wporg' ) );
- if ( $categories_list && categorized_blog() ) {
- printf( '<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
- _x( 'Categories', 'Used before category names.', 'wporg' ),
- $categories_list
- );
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * Prints HTML with category and tags for current post.
+ *
+ * Create your own WordPressdotorg\Theme\entry_taxonomies() function to override in a child theme.
+ */
+ function entry_taxonomies() {
+ $categories_list = get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'wporg' ) );
+ if ( $categories_list && categorized_blog() ) {
+ printf(
+ '<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
+ esc_html_x( 'Categories', 'Used before category names.', 'wporg' ),
+ $categories_list // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
+ );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'wporg' ) );
- if ( $tags_list ) {
- printf( '<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
- _x( 'Tags', 'Used before tag names.', 'wporg' ),
- $tags_list
- );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'wporg' ) );
+ if ( $tags_list ) {
+ printf(
+ '<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
+ esc_html_x( 'Tags', 'Used before tag names.', 'wporg' ),
+ $tags_list // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
+ );
+ }
</ins><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"> endif;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! function_exists( __NAMESPACE__ . '\categorized_blog' ) ) :
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/**
- * Determines whether blog/site has more than one category.
- *
- * Create your own WordPressdotorg\Theme\categorized_blog() function to override in a child theme.
- *
- * @return bool True if there is more than one category, false otherwise.
- */
-function categorized_blog() {
- if ( false === ( $all_the_cool_cats = get_transient( 'wporg_categories' ) ) ) {
- // Create an array of all the categories that are attached to posts.
- $all_the_cool_cats = get_categories( array(
- 'fields' => 'ids',
- // We only need to know if there is more than one category.
- 'number' => 2,
- ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * Determines whether blog/site has more than one category.
+ *
+ * Create your own WordPressdotorg\Theme\categorized_blog() function to override in a child theme.
+ *
+ * @return bool True if there is more than one category, false otherwise.
+ */
+ function categorized_blog() {
+ $all_the_cool_cats = get_transient( 'wporg_categories' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Count the number of categories that are attached to the posts.
- $all_the_cool_cats = count( $all_the_cool_cats );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( false === $all_the_cool_cats ) {
+ // Create an array of all the categories that are attached to posts.
+ $all_the_cool_cats = get_categories( array(
+ 'fields' => 'ids',
+ // We only need to know if there is more than one category.
+ 'number' => 2,
+ ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- set_transient( 'wporg_categories', $all_the_cool_cats );
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Count the number of categories that are attached to the posts.
+ $all_the_cool_cats = count( $all_the_cool_cats );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $all_the_cool_cats > 1 ) {
- // This blog has more than 1 category so wporg_categorized_blog should return true.
- return true;
- } else {
- // This blog has only 1 category so wporg_categorized_blog should return false.
- return false;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ set_transient( 'wporg_categories', $all_the_cool_cats );
+ }
+
+ if ( $all_the_cool_cats > 1 ) {
+ // This blog has more than 1 category so wporg_categorized_blog should return true.
+ return true;
+ } else {
+ // This blog has only 1 category so wporg_categorized_blog should return false.
+ return false;
+ }
</ins><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"> endif;
</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">@@ -162,4 +176,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> delete_transient( 'wporg_categories' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'edit_category', __NAMESPACE__ . '\category_transient_flusher' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-add_action( 'save_post', __NAMESPACE__ . '\category_transient_flusher' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_action( 'save_post', __NAMESPACE__ . '\category_transient_flusher' );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/index.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/index.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,7 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_header(); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+get_header();
+?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main col-9" role="main">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -37,6 +38,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- #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
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
</ins><span class="cx" style="display: block; padding: 0 10px"> get_sidebar();
</span><span class="cx" style="display: block; padding: 0 10px"> get_footer();
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgjscustomizerjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/customizer.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/customizer.js 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/customizer.js 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2,8 +2,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * File customizer.js.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Theme Customizer enhancements for a better user experience.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Contains handlers to make Theme Customizer preview reload changes asynchronously.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Contains handlers to make Theme Customizer preview reload changes asynchronously.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @package WordPressdotorg\Theme
</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"> ( function( $ ) {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgjsnavigationjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/navigation.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/navigation.js 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/navigation.js 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,7 +3,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Handles toggling the navigation menu for small screens and enables TAB key
</span><span class="cx" style="display: block; padding: 0 10px"> * navigation support for dropdown menus.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @package WordPressdotorg\Theme
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> ( function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var container, button, menu, links, subMenus, i, len;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgjsskiplinkfocusfixjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/skip-link-focus-fix.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/skip-link-focus-fix.js 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/js/skip-link-focus-fix.js 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2,13 +2,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * File skip-link-focus-fix.js.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Helps with accessibility for keyboard only users.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Learn more: https://git.io/vWdr2
</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: https://git.io/vWdr2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @package WordPressdotorg\Theme
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> ( function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var isWebkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- isOpera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1,
- isIe = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ isOpera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1,
+ isIe = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ( isWebkit || isOpera || isIe ) && document.getElementById && window.addEventListener ) {
</span><span class="cx" style="display: block; padding: 0 10px"> window.addEventListener( 'hashchange', function() {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/page.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/page.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,12 +14,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_header( 'page' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+get_header();
+?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main col-12" role="main">
</span><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">- while ( have_posts() ) : the_post();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 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"> get_template_part( 'template-parts/content', 'page' );
</span><span class="cx" style="display: block; padding: 0 10px"> endwhile; // End of the loop.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,5 +29,5 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- #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
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
</ins><span class="cx" style="display: block; padding: 0 10px"> get_footer();
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgsearchphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/search.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/search.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/search.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,7 +16,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( have_posts() ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <header class="page-header">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'wporg' ), get_search_query() ); ?></h1>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h1 class="page-title">
+ <?php
+ printf(
+ /* translators: Search query. */
+ esc_html__( 'Search Results for: %s', 'wporg' ),
+ get_search_query()
+ );
+ ?>
+ </h1>
</ins><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"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,7 +38,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </header><!-- .entry-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 if ( 'post' == get_post_type() ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php if ( 'post' === get_post_type() ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="entry-meta"><?php entry_meta(); ?></div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,7 +50,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> edit_post_link(
</span><span class="cx" style="display: block; padding: 0 10px"> sprintf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: Name of current post */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: Name of current post */
</ins><span class="cx" style="display: block; padding: 0 10px"> __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'wporg' ),
</span><span class="cx" style="display: block; padding: 0 10px"> get_the_title()
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -59,7 +67,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> the_posts_pagination();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If no content, include the "No posts found" template.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If no content, include the "No posts found" template.
</ins><span class="cx" style="display: block; padding: 0 10px"> else :
</span><span class="cx" style="display: block; padding: 0 10px"> get_template_part( 'template-parts/content', 'none' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -69,4 +77,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- .site-main -->
</span><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">-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">+get_footer();
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgsidebarphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/sidebar.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/sidebar.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/sidebar.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,14 +13,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <aside id="secondary" class="widget-area col-3">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="widget">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h4><?php _e( 'Categories', 'wporg' ); ?></h4>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h4><?php esc_html_e( 'Categories', 'wporg' ); ?></h4>
</ins><span class="cx" style="display: block; padding: 0 10px"> <ul>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </ul>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="widget">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h4><?php _e( 'Blog Archives', 'wporg' ); ?></h4>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h4><?php esc_html_e( 'Blog Archives', 'wporg' ); ?></h4>
</ins><span class="cx" style="display: block; padding: 0 10px"> <ul>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php wp_get_archives( 'type=monthly&limit=12' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </ul>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgsinglephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/single.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/single.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,30 +9,33 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_header( 'page' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+get_header();
+?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main col-8" role="main">
</span><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">- while ( have_posts() ) :
- the_post();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 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">- get_template_part( 'template-parts/content', 'single' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ get_template_part( 'template-parts/content', 'single' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; 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;
</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">- // Previous/next post navigation.
- the_post_navigation( array(
- 'next_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Next', 'wporg' ) . '</span> ' .
- '<span class="screen-reader-text">' . __( 'Next post:', 'wporg' ) . '</span> ' .
- '<span class="post-title">%title</span>',
- 'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Previous', 'wporg' ) . '</span> ' .
- '<span class="screen-reader-text">' . __( 'Previous post:', 'wporg' ) . '</span> ' .
- '<span class="post-title">%title</span>',
- ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Previous/next post navigation.
+ the_post_navigation( [
+ // phpcs:disable WordPress.WhiteSpace.PrecisionAlignment.Found
+ 'next_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Next', 'wporg' ) . '</span> ' .
+ '<span class="screen-reader-text">' . __( 'Next post:', 'wporg' ) . '</span> ' .
+ '<span class="post-title">%title</span>',
+ 'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Previous', 'wporg' ) . '</span> ' .
+ '<span class="screen-reader-text">' . __( 'Previous post:', 'wporg' ) . '</span> ' .
+ '<span class="post-title">%title</span>',
+ // phpcs:enable WordPress.WhiteSpace.PrecisionAlignment.Found
+ ] );
</ins><span class="cx" style="display: block; padding: 0 10px"> endwhile; // End of the loop.
</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="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/style.css 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/style.css 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,4 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* phpcs:ignoreFile */
</ins><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><span class="cx" style="display: block; padding: 0 10px"> Theme Name: WordPress.org
</span><span class="cx" style="display: block; padding: 0 10px"> Theme URI: https://wordpress.org
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgtemplatepartscontentnonephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-none.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-none.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-none.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,26 +4,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPressdotorg\Theme
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</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"> <section class="no-results not-found">
</span><span class="cx" style="display: block; padding: 0 10px"> <header class="page-header">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h1 class="page-title"><?php _e( 'Nothing Found', 'wporg' ); ?></h1>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'wporg' ); ?></h1>
</ins><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><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'wporg' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p>
+ <?php
+ printf(
+ /* translators: Link to post editor. */
+ __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'wporg' ), // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
+ esc_url( admin_url( 'post-new.php' ) )
+ );
+ ?>
+ </p>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php elseif ( is_search() ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'wporg' ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'wporg' ); ?></p>
</ins><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 else : ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'wporg' ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'wporg' ); ?></p>
</ins><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></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgtemplatepartscontentpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-page.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content-page.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,7 +29,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> edit_post_link(
</span><span class="cx" style="display: block; padding: 0 10px"> sprintf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: Name of current post */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: Name of current post */
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html__( 'Edit %s', 'wporg' ),
</span><span class="cx" style="display: block; padding: 0 10px"> the_title( '<span class="screen-reader-text">"', '"</span>', false )
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgtemplatepartscontentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/template-parts/content.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,16 +6,17 @@
</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"> namespace WordPressdotorg\Theme;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</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"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</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 if ( is_sticky() && is_home() && ! is_paged() ) : ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <span class="sticky-post"><?php _e( 'Featured', 'wporg' ); ?></span>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <span class="sticky-post"><?php esc_html_e( 'Featured', 'wporg' ); ?></span>
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> 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">- if ( is_single() ) :
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( is_single() ) : // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
</ins><span class="cx" style="display: block; padding: 0 10px"> the_title( '<h2 class="entry-title">', '</h2>' );
</span><span class="cx" style="display: block; padding: 0 10px"> else :
</span><span class="cx" style="display: block; padding: 0 10px"> the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,8 +28,8 @@
</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><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: Name of current post */
</del><span class="cx" style="display: block; padding: 0 10px"> the_content( sprintf(
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: Name of current post */
</ins><span class="cx" style="display: block; padding: 0 10px"> __( 'Continue reading<span class="screen-reader-text"> "%s"</span> →', 'wporg' ),
</span><span class="cx" style="display: block; padding: 0 10px"> get_the_title()
</span><span class="cx" style="display: block; padding: 0 10px"> ) );
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainGruntfilejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/Gruntfile.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/Gruntfile.js 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/Gruntfile.js 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Gruntfile.js
+ *
+ * @package WordPressdotorg\MainTheme
+ */
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* global module:false, require:function, process:object */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> require( 'es6-promise' ).polyfill();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> cascade: false
</span><span class="cx" style="display: block; padding: 0 10px"> } ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- require( 'pixrem' )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ require( 'pixrem' ),
</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"> dist: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,10 +36,7 @@
</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"> jshint: {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- files: [
- 'Gruntfile.js',
- 'js/**/*.js'
- ],
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ files: [ 'Gruntfile.js', 'js/**/*.js' ],
</ins><span class="cx" style="display: block; padding: 0 10px"> options: grunt.file.readJSON( '.jshintrc' )
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> sass: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,10 +58,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var files = {};
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ['settings', 'tools', 'generic', 'base', 'objects', 'components', 'trumps'].forEach( function( component ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var paths = [
- '../wporg/css/' + component + '/**/*.scss',
- '!../wporg/css/' + component + '/_' + component + '.scss'
- ];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var paths = ['../wporg/css/' + component + '/**/*.scss', '!../wporg/css/' + component + '/_' + component + '.scss'];
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isChild ) {
</span><span class="cx" style="display: block; padding: 0 10px"> paths.push( 'css/' + component + '/**/*.scss' );
</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"> rtlcss: {
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // rtlcss options
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // rtlcss options.
</ins><span class="cx" style="display: block; padding: 0 10px"> opts: {
</span><span class="cx" style="display: block; padding: 0 10px"> clean: false,
</span><span class="cx" style="display: block; padding: 0 10px"> processUrls: { atrule: true, decl: false },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,7 +90,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> scope: 'url',
</span><span class="cx" style="display: block; padding: 0 10px"> ignoreCase: false
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
</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"> saveUnmodified: false,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -106,24 +106,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> {
</span><span class="cx" style="display: block; padding: 0 10px"> expr: /content/im,
</span><span class="cx" style="display: block; padding: 0 10px"> action: function( prop, value ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( value === '"\\f141"' ) { // dashicons-arrow-left
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( value === '"\\f141"' ) { // dashicons-arrow-left.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f139"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f340"' ) { // dashicons-arrow-left-alt
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f340"' ) { // dashicons-arrow-left-alt.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f344"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f341"' ) { // dashicons-arrow-left-alt2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f341"' ) { // dashicons-arrow-left-alt2.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f345"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f139"' ) { // dashicons-arrow-right
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f139"' ) { // dashicons-arrow-right.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f141"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f344"' ) { // dashicons-arrow-right-alt
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f344"' ) { // dashicons-arrow-right-alt.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f340"';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( value === '"\\f345"' ) { // dashicons-arrow-right-alt2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( value === '"\\f345"' ) { // dashicons-arrow-right-alt2.
</ins><span class="cx" style="display: block; padding: 0 10px"> value = '"\\f341"';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return { prop: prop, value: value };
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
</ins><span class="cx" style="display: block; padding: 0 10px"> ]
</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">+ } // phpcs:ignore Generic.WhiteSpace.ScopeIndent.IncorrectExact
</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"> dynamic: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -150,14 +150,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> grunt.config.merge( { postcss: { options : { processors: [ require( 'cssnano' ) ] } } } );
</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">- grunt.loadNpmTasks('grunt-sass');
- grunt.loadNpmTasks('grunt-rtlcss');
- grunt.loadNpmTasks('grunt-postcss');
- grunt.loadNpmTasks('grunt-sass-globbing');
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.loadNpmTasks('grunt-contrib-jshint');
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ grunt.loadNpmTasks( 'grunt-sass' );
+ grunt.loadNpmTasks( 'grunt-rtlcss' );
+ grunt.loadNpmTasks( 'grunt-postcss' );
+ grunt.loadNpmTasks( 'grunt-sass-globbing' );
+ grunt.loadNpmTasks( 'grunt-contrib-watch' );
+ grunt.loadNpmTasks( 'grunt-contrib-jshint' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- grunt.registerTask('css', ['sass_globbing', 'sass', 'postcss', 'rtlcss:dynamic']);
- grunt.registerTask('default', ['jshint', 'css']);
- grunt.registerTask('build', ['css']);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ grunt.registerTask( 'css', ['sass_globbing', 'sass', 'postcss', 'rtlcss:dynamic'] );
+ grunt.registerTask( 'default', ['jshint', 'css'] );
+ grunt.registerTask( 'build', ['css'] );
</ins><span class="cx" style="display: block; padding: 0 10px"> };
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainfrontpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,6 +12,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPressdotorg\Theme
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// phpcs:disable WordPress.XSS.EscapeOutput.UnsafePrintingFunction, WordPress.XSS.EscapeOutput.OutputNotEscaped
+
</ins><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\MainTheme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> global $rosetta;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +46,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <section class="showcase">
</span><span class="cx" style="display: block; padding: 0 10px"> <h2><?php _e( 'Trusted by the Best', 'wporg' ); ?></h2>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p class="subheading"><?php printf( __( '%s of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ), WP_MARKET_SHARE . '%' ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p class="subheading">
+ <?php
+ printf(
+ /* translators: WordPress market share: 29%; */
+ __( '%s of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ),
+ WP_MARKET_SHARE . '%'
+ );
+ ?>
+ </p>
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="collage">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -88,9 +98,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php _e( 'Easy and<br />Accessible', 'wporg' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </li>
</span><span class="cx" style="display: block; padding: 0 10px"> </ul>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p><?php
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p>
+ <?php
</ins><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: Link to Plugin Directory. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- printf( __( 'Extend WordPress with over 45,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%s">much more</a>.', 'wporg' ), esc_url( home_url( '/plugins/' ) ) ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ printf( __( 'Extend WordPress with over 45,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%s">much more</a>.', 'wporg' ), esc_url( home_url( '/plugins/' ) ) );
+ ?>
+ </p>
</ins><span class="cx" style="display: block; padding: 0 10px"> </section>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <section class="community-2">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -122,8 +135,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'ignore_sticky_posts' => true,
</span><span class="cx" style="display: block; padding: 0 10px"> 'no_found_rows' => true,
</span><span class="cx" style="display: block; padding: 0 10px"> ] );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> while ( $featured->have_posts() ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $featured->the_post();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> the_title( sprintf( '<h5><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h5>' );
</span><span class="cx" style="display: block; padding: 0 10px"> echo '<div class="entry-summary">' . apply_filters( 'the_excerpt', get_the_excerpt() ) . '</div>';
</span><span class="cx" style="display: block; padding: 0 10px"> endwhile;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -135,9 +150,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <h4><?php _e( 'It’s Easy As…', 'wporg' ); ?></h4>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <ol class="steps">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <li class="one"><span></span><?php printf( __( '<a href="%s">Find a Web Host</a> and get great hosting while supporting WordPress at the same time.', 'wporg' ), esc_url( 'https://wordpress.org/hosting/' ) ); ?></li>
- <li class="two"><span></span><?php printf( __( '<a href="%s">Download & Install WordPress</a> with our famous 5-minute installation. Feel like a rock star.', 'wporg' ), esc_url( get_downloads_url() ) ); ?></li>
- <li class="three"><span></span><?php printf( __( '<a href="%s">Read the Documentation</a> and become a WordPress expert yourself, impress your friends.', 'wporg' ), esc_url( 'https://developer.wordpress.org' ) ); ?></li>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <li class="one">
+ <span></span>
+ <?php
+ printf(
+ /* translators: URL to Hosting page. */
+ __( '<a href="%s">Find a Web Host</a> and get great hosting while supporting WordPress at the same time.', 'wporg' ),
+ esc_url( 'https://wordpress.org/hosting/' )
+ );
+ ?>
+ </li>
+ <li class="two">
+ <span></span>
+ <?php
+ printf(
+ /* translators: URL to Downloads page. */
+ __( '<a href="%s">Download & Install WordPress</a> with our famous 5-minute installation. Feel like a rock star.', 'wporg' ),
+ esc_url( get_downloads_url() )
+ );
+ ?>
+ </li>
+ <li class="three">
+ <span></span>
+ <?php
+ printf(
+ /* translators: URL to Developer Hub. */
+ __( '<a href="%s">Read the Documentation</a> and become a WordPress expert yourself, impress your friends.', 'wporg' ),
+ esc_url( 'https://developer.wordpress.org' )
+ );
+ ?>
+ </li>
</ins><span class="cx" style="display: block; padding: 0 10px"> </ol>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -203,5 +245,5 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- #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
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
</ins><span class="cx" style="display: block; padding: 0 10px"> get_footer();
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,10 +34,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> register_widget( 'WP_Widget_Links' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'widget_links_args', function( $args ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $args['categorize'] = 0;
- $args['category_before'] = '';
- $args['category_after'] = '';
- $args['title_li'] = __( 'Resources', 'wporg' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $args['categorize'] = 0;
+ $args['title_li'] = __( 'Resources', 'wporg' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $args;
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmaininctemplatetagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,12 +5,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPressdotorg\MainTheme
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// phpcs:disable WordPress.VIP.RestrictedFunctions.get_page_by_path_get_page_by_path
+
</ins><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\MainTheme;
</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"> * Displays a table row with release information.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $release
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $release Release to be processed.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function release_row( $release ) {
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +30,7 @@
</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"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Rerieve the localised downloads link.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Retrieve the localised downloads link.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Uses the 'txt-download' page if exists, falling back to the 'releases' page for older sites, and finally, the english downloads page.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainpagereleasesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-releases.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-releases.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-releases.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,10 +6,12 @@
</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"> namespace WordPressdotorg\MainTheme;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> $releases = $GLOBALS['rosetta']->rosetta->get_releases_breakdown();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> the_post();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_header( 'page' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+get_header();
+?>
</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( 'col-12' ); ?> role="main">
</span><span class="cx" style="display: block; padding: 0 10px"> <header class="entry-header">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -21,7 +23,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $releases ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $releases['latest'] ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h3 id="latest"><?php _e( 'Latest release', 'wporg' ); ?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h3 id="latest"><?php esc_html_e( 'Latest release', 'wporg' ); ?></h3>
</ins><span class="cx" style="display: block; padding: 0 10px"> <table class="releases latest">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php release_row( $releases['latest'] ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </table>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,9 +33,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $releases['branches'] ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> echo '<a name="older" id="older"></a>';
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- foreach ( $releases['branches'] as $branch => $branch_release ):
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ foreach ( $releases['branches'] as $branch => $branch_release ) :
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h3><?php printf( __( '%s Branch', 'wporg' ), $branch );?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h3>
+ <?php
+ printf(
+ /* translators: Version number. */
+ esc_html__( '%s Branch', 'wporg' ),
+ esc_html( $branch )
+ );
+ ?>
+ </h3>
</ins><span class="cx" style="display: block; padding: 0 10px"> <table class="releases">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $branch_release as $release ) :
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,24 +53,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </table>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> endforeach;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- endif; // any branches
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ endif; // Any branches.
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $releases['betas'] ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h3 id="betas"><?php _e( 'Beta & RC releases', 'wporg' ); ?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h3 id="betas"><?php esc_html_e( 'Beta & RC releases', 'wporg' ); ?></h3>
</ins><span class="cx" style="display: block; padding: 0 10px"> <table id="beta" class="releases">
</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">- foreach ( $releases['betas'] as $release ):
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ foreach ( $releases['betas'] as $release ) :
</ins><span class="cx" style="display: block; padding: 0 10px"> release_row( $release );
</span><span class="cx" style="display: block; padding: 0 10px"> endforeach;
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </table>
</span><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">- endif; // any betas
- else: // no releases
- echo '<p>' . __( 'There are no releases, yet.', 'wporg' ) . '</p>';
- endif; // if releases
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ endif; // Any betas.
+ else : // No releases.
+ echo '<p>' . esc_html__( 'There are no releases, yet.', 'wporg' ) . '</p>';
+ endif; // if releases.
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</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="lines" style="display: block; padding: 0 10px; color: #888">@@ -76,5 +86,6 @@
</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><!-- #post-## -->
</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
</span><span class="cx" style="display: block; padding: 0 10px"> get_footer();
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainpagetemplatesdownloadphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-templates/download.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-templates/download.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-templates/download.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,4 @@
</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">+<?php // phpcs:ignore Squiz.Commenting.FileComment.Missing -- See https://github.com/squizlabs/PHP_CodeSniffer/commit/ee0f50bf8f9f6d2ea1fa290c91cdadffd4b8d5d1
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Template Name: Downloads
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainpagetxtdownloadphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-txt-download.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-txt-download.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-txt-download.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,7 +8,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\MainTheme;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> the_post();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_header( 'page' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+get_header();
+?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <main id="main" class="site-main col-12" role="main">
</span><span class="cx" style="display: block; padding: 0 10px"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -21,12 +22,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> the_widget( __NAMESPACE__ . '\WPORG_Widget_Download' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- printf( '<div class="widget %s">', 'widget_links' );
</del><span class="cx" style="display: block; padding: 0 10px"> the_widget( 'WP_Widget_Links', array(), array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'before_title' => '<h4>',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'after_title' => '</h4>' . '<p>' . __( 'For help with installing or using WordPress, consult our documentation in your language.', 'wporg' ) . '</p>',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'after_title' => '</h4><p>' . __( 'For help with installing or using WordPress, consult our documentation in your language.', 'wporg' ) . '</p>',
</ins><span class="cx" style="display: block; padding: 0 10px"> ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- echo '</div>';
</del><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </aside>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,5 +55,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </article><!-- #post-## -->
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- #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
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
</ins><span class="cx" style="display: block; padding: 0 10px"> get_footer();
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/style.css 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/style.css 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,4 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* phpcs:ignore */
</ins><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><span class="cx" style="display: block; padding: 0 10px"> Theme Name: WordPress.org Main
</span><span class="cx" style="display: block; padding: 0 10px"> Theme URI: https://wordpress.org
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgmainwidgetsclasswporgwidgetdownloadphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/widgets/class-wporg-widget-download.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/widgets/class-wporg-widget-download.php 2017-12-14 23:45:18 UTC (rev 6276)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/widgets/class-wporg-widget-download.php 2017-12-15 00:13:33 UTC (rev 6277)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,8 +23,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct() {
</span><span class="cx" style="display: block; padding: 0 10px"> parent::__construct( 'wporg_download', __( 'Download', 'wporg' ), array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'classname' => 'widget_download',
- 'description' => __( 'WordPress download button.', 'wporg' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'classname' => 'widget_download',
+ 'description' => __( 'WordPress download button.', 'wporg' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'customize_selective_refresh' => true,
</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">@@ -50,18 +50,40 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // phpcs:disable WordPress.XSS.EscapeOutput.OutputNotEscaped
+
</ins><span class="cx" style="display: block; padding: 0 10px"> echo $args['before_widget'];
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <div>
</span><span class="cx" style="display: block; padding: 0 10px"> <a class="button button-primary button-large" href="<?php echo esc_url( $latest_release['zip_url'] ); ?>" role="button">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php echo apply_filters( 'no_orphans', sprintf( __( 'Download WordPress %s', 'wporg' ), $latest_release['version'] ) ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ echo apply_filters( 'no_orphans', sprintf(
+ /* translators: WordPress version. */
+ __( 'Download WordPress %s', 'wporg' ),
+ $latest_release['version']
+ ) );
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div><?php printf( __( '.zip — %s MB', 'wporg' ), esc_html( $latest_release['zip_size_mb'] ) ); ?></div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div>
+ <?php
+ printf(
+ /* translators: Size of .zip file. */
+ __( '.zip — %s MB', 'wporg' ),
+ esc_html( $latest_release['zip_size_mb'] )
+ );
+ ?>
+ </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <div>
</span><span class="cx" style="display: block; padding: 0 10px"> <a href="<?php echo esc_url( $latest_release['targz_url'] ); ?>">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php printf( __( 'Download .tar.gz — %s MB', 'wporg' ), esc_html( $latest_release['tar_size_mb'] ) ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ printf(
+ /* translators: Size of .tar.gz file. */
+ __( 'Download .tar.gz — %s MB', 'wporg' ),
+ esc_html( $latest_release['tar_size_mb'] )
+ );
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span></span></pre>
</div>
</div>
</body>
</html>