<!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>[48991] trunk/src: Docs: Update the URL for PHP date formats table in translator comments.</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/48991">48991</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/48991","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>SergeyBiryukov</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2020-09-18 10:35:41 +0000 (Fri, 18 Sep 2020)</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'>Docs: Update the URL for PHP date formats table in translator comments.
Props hareesh-pillai, iandunn.
Fixes <a href="https://core.trac.wordpress.org/ticket/51332">#51332</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincommentphp">trunk/src/wp-admin/comment.php</a></li>
<li><a href="#trunksrcwpadmineditformadvancedphp">trunk/src/wp-admin/edit-form-advanced.php</a></li>
<li><a href="#trunksrcwpadmineditformcommentphp">trunk/src/wp-admin/edit-form-comment.php</a></li>
<li><a href="#trunksrcwpadminincludesajaxactionsphp">trunk/src/wp-admin/includes/ajax-actions.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpcommentslisttablephp">trunk/src/wp-admin/includes/class-wp-comments-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpcommunityeventsphp">trunk/src/wp-admin/includes/class-wp-community-events.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppostslisttablephp">trunk/src/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesdashboardphp">trunk/src/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunksrcwpadminincludesmetaboxesphp">trunk/src/wp-admin/includes/meta-boxes.php</a></li>
<li><a href="#trunksrcwpadminincludesmiscphp">trunk/src/wp-admin/includes/misc.php</a></li>
<li><a href="#trunksrcwpadminincludesschemaphp">trunk/src/wp-admin/includes/schema.php</a></li>
<li><a href="#trunksrcwpadminoptionsgeneralphp">trunk/src/wp-admin/options-general.php</a></li>
<li><a href="#trunksrcwpincludesclasswplocalephp">trunk/src/wp-includes/class-wp-locale.php</a></li>
<li><a href="#trunksrcwpincludesposttemplatephp">trunk/src/wp-includes/post-template.php</a></li>
<li><a href="#trunksrcwpincludesscriptloaderphp">trunk/src/wp-includes/script-loader.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincommentphp"></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/comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/comment.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/comment.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -215,9 +215,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $submitted = sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: 1: Comment date, 2: Comment time. */
</span><span class="cx" style="display: block; padding: 0 10px"> __( '%1$s at %2$s' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Comment date format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Comment date format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> get_comment_date( __( 'Y/m/d' ), $comment ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Comment time format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Comment time format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> get_comment_date( __( 'g:i a' ), $comment )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'approved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_post_ID ) ) {
</span></span></pre></div>
<a id="trunksrcwpadmineditformadvancedphp"></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/edit-form-advanced.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-form-advanced.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/edit-form-advanced.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -171,9 +171,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $scheduled_date = sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: Publish box date string. 1: Date, 2: Time. */
</span><span class="cx" style="display: block; padding: 0 10px"> __( '%1$s at %2$s' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
</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="trunksrcwpadmineditformcommentphp"></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/edit-form-comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-form-comment.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/edit-form-comment.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -124,9 +124,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $submitted = sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: 1: Comment date, 2: Comment time. */
</span><span class="cx" style="display: block; padding: 0 10px"> __( '%1$s at %2$s' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) )
</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="trunksrcwpadminincludesajaxactionsphp"></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/ajax-actions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/ajax-actions.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/ajax-actions.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2205,7 +2205,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( '0000-00-00 00:00:00' === $post->post_date ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $time = '';
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Date format in table columns, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Date format in table columns, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $time = mysql2date( __( 'Y/m/d' ), $post->post_date );
</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="trunksrcwpadminincludesclasswpcommentslisttablephp"></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/class-wp-comments-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-comments-list-table.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/class-wp-comments-list-table.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -955,9 +955,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $submitted = sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: 1: Comment date, 2: Comment time. */
</span><span class="cx" style="display: block; padding: 0 10px"> __( '%1$s at %2$s' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Comment date format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Comment date format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> get_comment_date( __( 'Y/m/d' ), $comment ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Comment time format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Comment time format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> get_comment_date( __( 'g:i a' ), $comment )
</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="trunksrcwpadminincludesclasswpcommunityeventsphp"></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/class-wp-community-events.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-community-events.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/class-wp-community-events.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -375,7 +375,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * so that users can tell at a glance if the event is on a day they
</span><span class="cx" style="display: block; padding: 0 10px"> * are available, without having to open the link.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $formatted_date = date_i18n( __( 'l, M j, Y' ), $timestamp );
</span><span class="cx" style="display: block; padding: 0 10px"> $formatted_time = date_i18n( get_option( 'time_format' ), $timestamp );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -384,7 +384,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $formatted_end_date = date_i18n( __( 'l, M j, Y' ), $end_timestamp );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'meetup' !== $event['type'] && $formatted_end_date !== $formatted_date ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Upcoming events month format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Upcoming events month format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $start_month = date_i18n( _x( 'F', 'upcoming events month format' ), $timestamp );
</span><span class="cx" style="display: block; padding: 0 10px"> $end_month = date_i18n( _x( 'F', 'upcoming events month format' ), $end_timestamp );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -393,10 +393,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: Date string for upcoming events. 1: Month, 2: Starting day, 3: Ending day, 4: Year. */
</span><span class="cx" style="display: block; padding: 0 10px"> __( '%1$s %2$d–%3$d, %4$d' ),
</span><span class="cx" style="display: block; padding: 0 10px"> $start_month,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Upcoming events day format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Upcoming events day format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'j', 'upcoming events day format' ), $timestamp ),
</span><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'j', 'upcoming events day format' ), $end_timestamp ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Upcoming events year format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Upcoming events year format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'Y', 'upcoming events year format' ), $timestamp )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppostslisttablephp"></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/class-wp-posts-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1081,9 +1081,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $t_time = sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: 1: Post date, 2: Post time. */
</span><span class="cx" style="display: block; padding: 0 10px"> __( '%1$s at %2$s' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Post date format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Post date format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> get_the_time( __( 'Y/m/d' ), $post ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Post time format. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Post time format. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> get_the_time( __( 'g:i a' ), $post )
</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="trunksrcwpadminincludesdashboardphp"></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/dashboard.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/dashboard.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/dashboard.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -965,10 +965,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } elseif ( gmdate( 'Y-m-d', $time ) == $tomorrow ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $relative = __( 'Tomorrow' );
</span><span class="cx" style="display: block; padding: 0 10px"> } elseif ( gmdate( 'Y', $time ) !== $year ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $relative = date_i18n( __( 'M jS Y' ), $time );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $relative = date_i18n( __( 'M jS' ), $time );
</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="trunksrcwpadminincludesmetaboxesphp"></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/meta-boxes.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/meta-boxes.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/meta-boxes.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -212,11 +212,11 @@
</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"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $date_string = __( '%1$s at %2$s' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $date_format = _x( 'M j, Y', 'publish box date format' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $time_format = _x( 'H:i', 'publish box time format' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 0 !== $post_id ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -404,11 +404,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <span id="timestamp">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> $uploaded_on = sprintf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> __( '%1$s at %2$s' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Publish box time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: Attachment information. %s: Date the attachment was uploaded. */
</span></span></pre></div>
<a id="trunksrcwpadminincludesmiscphp"></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/misc.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/misc.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/misc.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1246,7 +1246,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'message' => __( 'Error while saving.' ),
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Draft saved date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Draft saved date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $draft_saved_date_format = __( 'g:i:s a' );
</span><span class="cx" style="display: block; padding: 0 10px"> $response['wp_autosave'] = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'success' => true,
</span></span></pre></div>
<a id="trunksrcwpadminincludesschemaphp"></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/schema.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/schema.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/includes/schema.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -422,11 +422,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'default_ping_status' => 'open',
</span><span class="cx" style="display: block; padding: 0 10px"> 'default_pingback_flag' => 1,
</span><span class="cx" style="display: block; padding: 0 10px"> 'posts_per_page' => 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Default date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Default date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'date_format' => __( 'F j, Y' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Default time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Default time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'time_format' => __( 'g:i a' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Links last updated date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Links last updated date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'links_updated_date_format' => __( 'F j, Y g:i a' ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'comment_moderation' => 0,
</span><span class="cx" style="display: block; padding: 0 10px"> 'moderation_notify' => 1,
</span></span></pre></div>
<a id="trunksrcwpadminoptionsgeneralphp"></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/options-general.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/options-general.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-admin/options-general.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,7 +18,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $title = __( 'General Settings' );
</span><span class="cx" style="display: block; padding: 0 10px"> $parent_file = 'options-general.php';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $timezone_format = _x( 'Y-m-d H:i:s', 'timezone date format' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'admin_head', 'options_general_add_js' );
</span></span></pre></div>
<a id="trunksrcwpincludesclasswplocalephp"></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-locale.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-locale.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-includes/class-wp-locale.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -359,11 +359,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function _strings_for_pot() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Localized date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Localized date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> __( 'F j, Y' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Localized time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Localized time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> __( 'g:i a' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Localized date and time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Localized date and time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> __( 'F j, Y g:i a' );
</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="trunksrcwpincludesposttemplatephp"></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-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/post-template.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-includes/post-template.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1824,7 +1824,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return false;
</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">- /* translators: Revision date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Revision date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: Revision date. */
</span><span class="cx" style="display: block; padding: 0 10px"> $autosavef = __( '%s [Autosave]' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1866,7 +1866,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"> $author = get_the_author_meta( 'display_name', $revision->post_author );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Revision date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Revision date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $gravatar = get_avatar( $revision->post_author, 24 );
</span></span></pre></div>
<a id="trunksrcwpincludesscriptloaderphp"></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/script-loader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/script-loader.php 2020-09-17 19:53:47 UTC (rev 48990)
+++ trunk/src/wp-includes/script-loader.php 2020-09-18 10:35:41 UTC (rev 48991)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -344,13 +344,13 @@
</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"> 'formats' => array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'time' => get_option( 'time_format', __( 'g:i a' ) ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Date format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Date format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'date' => get_option( 'date_format', __( 'F j, Y' ) ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Date/Time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Date/Time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'datetime' => __( 'F j, Y g:i a' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Abbreviated date/time format, see https://www.php.net/date */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: Abbreviated date/time format, see https://www.php.net/manual/datetime.format.php */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'datetimeAbbreviated' => __( 'M j, Y g:i a' ),
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'timezone' => array(
</span></span></pre>
</div>
</div>
</body>
</html>