<!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>[44562] trunk: Coding Standards: Fix the minor `WordPress.WP.I18n` violations.</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 { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/44562">44562</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/44562","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>pento</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2019-01-11 06:03:46 +0000 (Fri, 11 Jan 2019)</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'>Coding Standards: Fix the minor `WordPress.WP.I18n` violations.

`WordPress.WP.I18n.MissingTranslatorsComment` is in progress in <a href="https://core.trac.wordpress.org/ticket/44360">#44360</a>.

See <a href="https://core.trac.wordpress.org/ticket/45934">#45934</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkphpcsxmldist">trunk/phpcs.xml.dist</a></li>
<li><a href="#trunksrcwpadmincreditsphp">trunk/src/wp-admin/credits.php</a></li>
<li><a href="#trunksrcwpadminincludesimportphp">trunk/src/wp-admin/includes/import.php</a></li>
<li><a href="#trunksrcwpadminincludespluginphp">trunk/src/wp-admin/includes/plugin.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyelevencommentsphp">trunk/src/wp-content/themes/twentyeleven/comments.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytencommentsphp">trunk/src/wp-content/themes/twentyten/comments.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentythirteencommentsphp">trunk/src/wp-content/themes/twentythirteen/comments.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwelvecommentsphp">trunk/src/wp-content/themes/twentytwelve/comments.php</a></li>
<li><a href="#trunksrcwpincludescategorytemplatephp">trunk/src/wp-includes/category-template.php</a></li>
<li><a href="#trunksrcwpincludesclasswpthemephp">trunk/src/wp-includes/class-wp-theme.php</a></li>
<li><a href="#trunksrcwpincludesfunctionsphp">trunk/src/wp-includes/functions.php</a></li>
<li><a href="#trunksrcwpincludespostphp">trunk/src/wp-includes/post.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkphpcsxmldist"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/phpcs.xml.dist</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/phpcs.xml.dist      2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/phpcs.xml.dist        2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,6 +90,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                (such as calling the low-level translate() function). -->
</span><span class="cx" style="display: block; padding: 0 10px">        <rule ref="WordPress.WP.I18n">
</span><span class="cx" style="display: block; padding: 0 10px">                <exclude-pattern>/src/wp-includes/l10n\.php</exclude-pattern>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                <exclude-pattern>/tests/phpunit/tests/l10n\.php</exclude-pattern>
+               <exclude-pattern>/tests/phpunit/tests/l10n/loadTextdomainJustInTime\.php</exclude-pattern>
</ins><span class="cx" style="display: block; padding: 0 10px">         </rule>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        <rule ref="Generic.Functions.FunctionCallArgumentSpacing">
</span></span></pre></div>
<a id="trunksrcwpadmincreditsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/credits.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/credits.php    2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-admin/credits.php      2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -65,8 +65,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        // Considered a special slug in the API response. (Also, will never be returned for en_US.)
</span><span class="cx" style="display: block; padding: 0 10px">                        $title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' );
</span><span class="cx" style="display: block; padding: 0 10px">                } elseif ( isset( $group_data['placeholders'] ) ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
</ins><span class="cx" style="display: block; padding: 0 10px">                         $title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] );
</span><span class="cx" style="display: block; padding: 0 10px">                } else {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
</ins><span class="cx" style="display: block; padding: 0 10px">                         $title = translate( $group_data['name'] );
</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">@@ -100,6 +102,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                echo '<img src="' . esc_url( $data['url'] ) . '" srcset="' . esc_url( $data2x['url'] ) . ' 2x" class="gravatar" alt="" />' . "\n";
</span><span class="cx" style="display: block; padding: 0 10px">                                echo esc_html( $person_data[0] ) . "</a>\n\t";
</span><span class="cx" style="display: block; padding: 0 10px">                                if ( ! $compact ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                        // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
</ins><span class="cx" style="display: block; padding: 0 10px">                                         echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";
</span><span class="cx" style="display: block; padding: 0 10px">                                }
</span><span class="cx" style="display: block; padding: 0 10px">                                echo "</li>\n";
</span></span></pre></div>
<a id="trunksrcwpadminincludesimportphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/import.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/import.php    2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-admin/includes/import.php      2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -167,8 +167,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">                foreach ( $popular_importers['importers'] as &$importer ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
</ins><span class="cx" style="display: block; padding: 0 10px">                         $importer['description'] = translate( $importer['description'] );
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( $importer['name'] != 'WordPress' ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
</ins><span class="cx" style="display: block; padding: 0 10px">                                 $importer['name'] = translate( $importer['name'] );
</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="trunksrcwpadminincludespluginphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/plugin.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/plugin.php    2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-admin/includes/plugin.php      2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -137,6 +137,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">                if ( $textdomain ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        foreach ( array( 'Name', 'PluginURI', 'Description', 'Author', 'AuthorURI', 'Version' ) as $field ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain
</ins><span class="cx" style="display: block; padding: 0 10px">                                 $plugin_data[ $field ] = translate( $plugin_data[ $field ], $textdomain );
</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="trunksrcwpcontentthemestwentyelevencommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyeleven/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyeleven/comments.php     2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-content/themes/twentyeleven/comments.php       2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,11 +31,20 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <?php if ( have_comments() ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">                <h2 id="comments-title">
</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">+                        if ( 1 === get_comments_number() ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                                 printf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentyeleven' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 /* translators: %s: The post title. */
+                                       __( 'One thought on &ldquo;%1$s&rdquo;', 'twentyeleven' ),
+                                       '<span>' . get_the_title() . '</span>'
+                               );
+                       } else {
+                               printf(
+                                       /* translators: %1$s: The number of comments. %2$s: The post title. */
+                                       _n( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentyeleven' ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         number_format_i18n( get_comments_number() ),
</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><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">                </h2>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytencommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyten/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyten/comments.php        2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-content/themes/twentyten/comments.php  2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,11 +34,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( have_comments() ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">                        <h3 id="comments-title">
</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">-                        printf(
-                               _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
-                               number_format_i18n( get_comments_number() ),
-                               '<em>' . get_the_title() . '</em>'
-                       );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 if ( 1 === get_comments_number() ) {
+                               printf(
+                                       /* translators: %s: The post title. */
+                                       __( 'One Response to %s', 'twentyten' ),
+                                       '<em>' . get_the_title() . '</em>'
+                               );
+                       } else {
+                               /* translators: %1$s: The number of comments. %2$s: The post title. */
+                               printf(
+                                       _n( '%1$s Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
+                                       number_format_i18n( get_comments_number() ),
+                                       '<em>' . get_the_title() . '</em>'
+                               );
+                       }
</ins><span class="cx" style="display: block; padding: 0 10px">                         ?>
</span><span class="cx" style="display: block; padding: 0 10px">                        </h3>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentythirteencommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentythirteen/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentythirteen/comments.php   2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-content/themes/twentythirteen/comments.php     2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,11 +23,20 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <?php if ( have_comments() ) : ?>
</span><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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        if ( 1 === get_comments_number() ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                                 printf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'twentythirteen' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 /* translators: %s: The post title. */
+                                       _x( 'One thought on &ldquo;%s&rdquo;', 'comments title', 'twentythirteen' ),
+                                       '<span>' . get_the_title() . '</span>'
+                               );
+                       } else {
+                               printf(
+                                       /* translators: %1$s: The number of comments. %2$s: The post title. */
+                                       _nx( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'twentythirteen' ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         number_format_i18n( get_comments_number() ),
</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><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">                </h2>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwelvecommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwelve/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwelve/comments.php     2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-content/themes/twentytwelve/comments.php       2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,11 +29,20 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <?php if ( have_comments() ) : ?>
</span><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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        if ( 1 === get_comments_number() ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                                 printf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentytwelve' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 /* translators: %s: The post title. */
+                                       __( 'One thought on &ldquo;%s&rdquo;', 'twentytwelve' ),
+                                       '<span>' . get_the_title() . '</span>'
+                               );
+                       } else {
+                               printf(
+                                       /* translators: %1$s: The number of comments. %2$s: The post title. */
+                                       _n( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentytwelve' ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         number_format_i18n( get_comments_number() ),
</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><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">                </h2>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludescategorytemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/category-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/category-template.php       2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-includes/category-template.php 2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -836,6 +836,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        } elseif ( ! empty( $args['topic_count_text_callback'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                // Look for the alternative callback style. Ignore the previous default.
</span><span class="cx" style="display: block; padding: 0 10px">                if ( $args['topic_count_text_callback'] === 'default_topic_count_text' ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        // wpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural
</ins><span class="cx" style="display: block; padding: 0 10px">                         $translate_nooped_plural = _n_noop( '%s item', '%s items' );
</span><span class="cx" style="display: block; padding: 0 10px">                } else {
</span><span class="cx" style="display: block; padding: 0 10px">                        $translate_nooped_plural = false;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -842,6 +843,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        } elseif ( isset( $args['single_text'] ) && isset( $args['multiple_text'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                // If no callback exists, look for the old-style single_text and multiple_text arguments.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural
</ins><span class="cx" style="display: block; padding: 0 10px">                 $translate_nooped_plural = _n_noop( $args['single_text'], $args['multiple_text'] );
</span><span class="cx" style="display: block; padding: 0 10px">        } else {
</span><span class="cx" style="display: block; padding: 0 10px">                // This is the default for when no callback, plural, or argument is passed in.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpthemephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-theme.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-theme.php  2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-includes/class-wp-theme.php    2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -874,6 +874,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                if ( isset( $this->name_translated ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                                        return $this->name_translated;
</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.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain
</ins><span class="cx" style="display: block; padding: 0 10px">                                 $this->name_translated = translate( $value, $this->get( 'TextDomain' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                                return $this->name_translated;
</span><span class="cx" style="display: block; padding: 0 10px">                        case 'Tags':
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -925,6 +926,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                return $value;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        default:
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain
</ins><span class="cx" style="display: block; padding: 0 10px">                                 $value = translate( $value, $this->get( 'TextDomain' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">                return $value;
</span></span></pre></div>
<a id="trunksrcwpincludesfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/functions.php       2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-includes/functions.php 2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5073,6 +5073,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $exists[4] = ( $exists[1] && $exists[3] );
</span><span class="cx" style="display: block; padding: 0 10px">                $exists[5] = ( $exists[2] && $exists[3] );
</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.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
</ins><span class="cx" style="display: block; padding: 0 10px">                 $zonen[] = array(
</span><span class="cx" style="display: block; padding: 0 10px">                        'continent'   => ( $exists[0] ? $zone[0] : '' ),
</span><span class="cx" style="display: block; padding: 0 10px">                        'city'        => ( $exists[1] ? $zone[1] : '' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5081,6 +5082,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        't_city'      => ( $exists[4] ? translate( str_replace( '_', ' ', $zone[1] ), 'continents-cities' ) : '' ),
</span><span class="cx" style="display: block; padding: 0 10px">                        't_subcity'   => ( $exists[5] ? translate( str_replace( '_', ' ', $zone[2] ), 'continents-cities' ) : '' ),
</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:enable
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><span class="cx" style="display: block; padding: 0 10px">        usort( $zonen, '_wp_timezone_choice_usort_callback' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludespostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/post.php    2019-01-11 04:59:23 UTC (rev 44561)
+++ trunk/src/wp-includes/post.php      2019-01-11 06:03:46 UTC (rev 44562)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1037,6 +1037,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">        if ( false === $args->label_count ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralSingle,WordPress.WP.I18n.NonSingularStringLiteralPlural
</ins><span class="cx" style="display: block; padding: 0 10px">                 $args->label_count = _n_noop( $args->label, $args->label );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre>
</div>
</div>

</body>
</html>