<!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>[45424] trunk: Date/Time: Replace all instances of `date()` with `gmdate()`.</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/45424">45424</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/45424","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>2019-05-26 00:11:37 +0000 (Sun, 26 May 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'>Date/Time: Replace all instances of `date()` with `gmdate()`.

Use of `date()` in core depends on PHP timezone set to UTC and not changed by third party code (which cannot be guaranteed).

`gmdate()` is functionally equivalent, but is not affected by PHP timezone setting: it's always UTC, which is the exact behavior the core needs.

Props nielsdeblaauw, Rarst.
Fixes <a href="https://core.trac.wordpress.org/ticket/46438">#46438</a>. See <a href="https://core.trac.wordpress.org/ticket/44491">#44491</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminincludesajaxactionsphp">trunk/src/wp-admin/includes/ajax-actions.php</a></li>
<li><a href="#trunksrcwpadminincludesclassftpphp">trunk/src/wp-admin/includes/class-ftp.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpfilesystemdirectphp">trunk/src/wp-admin/includes/class-wp-filesystem-direct.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpfilesystemftpextphp">trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpfilesystemssh2php">trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php</a></li>
<li><a href="#trunksrcwpadminincludesdashboardphp">trunk/src/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunksrcwpadminincludesexportphp">trunk/src/wp-admin/includes/export.php</a></li>
<li><a href="#trunksrcwpadminincludespostphp">trunk/src/wp-admin/includes/post.php</a></li>
<li><a href="#trunksrcwpadminincludesupgradephp">trunk/src/wp-admin/includes/upgrade.php</a></li>
<li><a href="#trunksrcwpadminoptionspermalinkphp">trunk/src/wp-admin/options-permalink.php</a></li>
<li><a href="#trunksrcwpincludesIXRclassIXRdatephp">trunk/src/wp-includes/IXR/class-IXR-date.php</a></li>
<li><a href="#trunksrcwpincludesIXRclassIXRserverphp">trunk/src/wp-includes/IXR/class-IXR-server.php</a></li>
<li><a href="#trunksrcwpincludesbookmarktemplatephp">trunk/src/wp-includes/bookmark-template.php</a></li>
<li><a href="#trunksrcwpincludesclasswpphp">trunk/src/wp-includes/class-wp.php</a></li>
<li><a href="#trunksrcwpincludescommentphp">trunk/src/wp-includes/comment.php</a></li>
<li><a href="#trunksrcwpincludesdatephp">trunk/src/wp-includes/date.php</a></li>
<li><a href="#trunksrcwpincludesdeprecatedphp">trunk/src/wp-includes/deprecated.php</a></li>
<li><a href="#trunksrcwpincludesformattingphp">trunk/src/wp-includes/formatting.php</a></li>
<li><a href="#trunksrcwpincludesfunctionsphp">trunk/src/wp-includes/functions.php</a></li>
<li><a href="#trunksrcwpincludesgeneraltemplatephp">trunk/src/wp-includes/general-template.php</a></li>
<li><a href="#trunksrcwpincludeslinktemplatephp">trunk/src/wp-includes/link-template.php</a></li>
<li><a href="#trunksrcwpincludespostphp">trunk/src/wp-includes/post.php</a></li>
<li><a href="#trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php</a></li>
<li><a href="#trunksrcwpincludesrestapiendpointsclasswprestuserscontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php</a></li>
<li><a href="#trunksrcwpincludesrestapiphp">trunk/src/wp-includes/rest-api.php</a></li>
<li><a href="#trunktestsphpunitincludestestcaserestposttypecontrollerphp">trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php</a></li>
<li><a href="#trunktestsphpunittestsadminincludesCommunityEventsphp">trunk/tests/phpunit/tests/admin/includesCommunityEvents.php</a></li>
<li><a href="#trunktestsphpunittestsadminincludesPostphp">trunk/tests/phpunit/tests/admin/includesPost.php</a></li>
<li><a href="#trunktestsphpunittestsbasicphp">trunk/tests/phpunit/tests/basic.php</a></li>
<li><a href="#trunktestsphpunittestscommentcommentsTemplatephp">trunk/tests/phpunit/tests/comment/commentsTemplate.php</a></li>
<li><a href="#trunktestsphpunittestscommentgetCommentLinkphp">trunk/tests/phpunit/tests/comment/getCommentLink.php</a></li>
<li><a href="#trunktestsphpunittestscommentgetPageOfCommentphp">trunk/tests/phpunit/tests/comment/getPageOfComment.php</a></li>
<li><a href="#trunktestsphpunittestscommentmetaCachephp">trunk/tests/phpunit/tests/comment/metaCache.php</a></li>
<li><a href="#trunktestsphpunittestscommentqueryphp">trunk/tests/phpunit/tests/comment/query.php</a></li>
<li><a href="#trunktestsphpunittestscommentwpAllowCommentphp">trunk/tests/phpunit/tests/comment/wpAllowComment.php</a></li>
<li><a href="#trunktestsphpunittestscommentwpListCommentsphp">trunk/tests/phpunit/tests/comment/wpListComments.php</a></li>
<li><a href="#trunktestsphpunittestscommentsubmissionphp">trunk/tests/phpunit/tests/comment-submission.php</a></li>
<li><a href="#trunktestsphpunittestsdatedateI18nphp">trunk/tests/phpunit/tests/date/dateI18n.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsgetArchivesphp">trunk/tests/phpunit/tests/functions/getArchives.php</a></li>
<li><a href="#trunktestsphpunittestsmediaphp">trunk/tests/phpunit/tests/media.php</a></li>
<li><a href="#trunktestsphpunittestsmultisitewpmuValidateUserSignupphp">trunk/tests/phpunit/tests/multisite/wpmuValidateUserSignup.php</a></li>
<li><a href="#trunktestsphpunittestspostlistPagesphp">trunk/tests/phpunit/tests/post/listPages.php</a></li>
<li><a href="#trunktestsphpunittestspostrevisionsphp">trunk/tests/phpunit/tests/post/revisions.php</a></li>
<li><a href="#trunktestsphpunittestsquerystickiesphp">trunk/tests/phpunit/tests/query/stickies.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestpostscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestuserscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-users-controller.php</a></li>
<li><a href="#trunktestsphpunittestsurlphp">trunk/tests/phpunit/tests/url.php</a></li>
<li><a href="#trunktestsphpunittestsxmlrpcwpeditPostphp">trunk/tests/phpunit/tests/xmlrpc/wp/editPost.php</a></li>
<li><a href="#trunktestsphpunittestsxmlrpcwpgetPostsphp">trunk/tests/phpunit/tests/xmlrpc/wp/getPosts.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<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      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/ajax-actions.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1476,7 +1476,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $post_data['post_status'] = 'draft';
</span><span class="cx" style="display: block; padding: 0 10px">                        $now                      = time();
</span><span class="cx" style="display: block; padding: 0 10px">                        /* translators: 1: Post creation date, 2: Post creation time */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $post_data['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( __( 'F j, Y' ), $now ), date( __( 'g:i a' ), $now ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $post_data['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), gmdate( __( 'F j, Y' ), $now ), gmdate( __( 'g:i a' ), $now ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        $pid = edit_post( $post_data );
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( $pid ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclassftpphp"></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-ftp.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-ftp.php 2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/class-ftp.php   2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -207,7 +207,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                $b['month'] = $lucifer[5];
</span><span class="cx" style="display: block; padding: 0 10px">                                $b['day'] = $lucifer[6];
</span><span class="cx" style="display: block; padding: 0 10px">                                if (preg_match("/([0-9]{2}):([0-9]{2})/",$lucifer[7],$l2)) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        $b['year'] = date("Y");
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 $b['year'] = gmdate("Y");
</ins><span class="cx" style="display: block; padding: 0 10px">                                         $b['hour'] = $l2[1];
</span><span class="cx" style="display: block; padding: 0 10px">                                        $b['minute'] = $l2[2];
</span><span class="cx" style="display: block; padding: 0 10px">                                } else {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpfilesystemdirectphp"></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-filesystem-direct.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-filesystem-direct.php        2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-direct.php  2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -598,8 +598,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $struc['group']       = $this->group( $path . '/' . $entry );
</span><span class="cx" style="display: block; padding: 0 10px">                        $struc['size']        = $this->size( $path . '/' . $entry );
</span><span class="cx" style="display: block; padding: 0 10px">                        $struc['lastmodunix'] = $this->mtime( $path . '/' . $entry );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $struc['lastmod']     = date( 'M j', $struc['lastmodunix'] );
-                       $struc['time']        = date( 'h:i:s', $struc['lastmodunix'] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $struc['lastmod']     = gmdate( 'M j', $struc['lastmodunix'] );
+                       $struc['time']        = gmdate( 'h:i:s', $struc['lastmodunix'] );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $struc['type']        = $this->is_dir( $path . '/' . $entry ) ? 'd' : 'f';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( 'd' == $struc['type'] ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpfilesystemftpextphp"></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-filesystem-ftpext.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php        2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php  2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -621,7 +621,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                $b['month'] = $lucifer[5];
</span><span class="cx" style="display: block; padding: 0 10px">                                $b['day']   = $lucifer[6];
</span><span class="cx" style="display: block; padding: 0 10px">                                if ( preg_match( '/([0-9]{2}):([0-9]{2})/', $lucifer[7], $l2 ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        $b['year']   = date( 'Y' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 $b['year']   = gmdate( 'Y' );
</ins><span class="cx" style="display: block; padding: 0 10px">                                         $b['hour']   = $l2[1];
</span><span class="cx" style="display: block; padding: 0 10px">                                        $b['minute'] = $l2[2];
</span><span class="cx" style="display: block; padding: 0 10px">                                } else {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpfilesystemssh2php"></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-filesystem-ssh2.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php  2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php    2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -744,8 +744,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $struc['group']       = $this->group( $path . '/' . $entry );
</span><span class="cx" style="display: block; padding: 0 10px">                        $struc['size']        = $this->size( $path . '/' . $entry );
</span><span class="cx" style="display: block; padding: 0 10px">                        $struc['lastmodunix'] = $this->mtime( $path . '/' . $entry );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $struc['lastmod']     = date( 'M j', $struc['lastmodunix'] );
-                       $struc['time']        = date( 'h:i:s', $struc['lastmodunix'] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $struc['lastmod']     = gmdate( 'M j', $struc['lastmodunix'] );
+                       $struc['time']        = gmdate( 'h:i:s', $struc['lastmodunix'] );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $struc['type']        = $this->is_dir( $path . '/' . $entry ) ? 'd' : 'f';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( 'd' == $struc['type'] ) {
</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 2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/dashboard.php   2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -863,11 +863,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $posts->the_post();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        $time = get_the_time( 'U' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        if ( date( 'Y-m-d', $time ) == $today ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 if ( gmdate( 'Y-m-d', $time ) == $today ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                                 $relative = __( 'Today' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        } elseif ( date( 'Y-m-d', $time ) == $tomorrow ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 } elseif ( gmdate( 'Y-m-d', $time ) == $tomorrow ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                                 $relative = __( 'Tomorrow' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        } elseif ( date( 'Y', $time ) !== $year ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 } elseif ( gmdate( 'Y', $time ) !== $year ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                                 /* translators: date and time format for recent posts on the dashboard, from a different calendar year, see https://secure.php.net/date */
</span><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></span></pre></div>
<a id="trunksrcwpadminincludesexportphp"></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/export.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/export.php    2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/export.php      2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -79,7 +79,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        if ( ! empty( $sitename ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $sitename .= '.';
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $date        = date( 'Y-m-d' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $date        = gmdate( 'Y-m-d' );
</ins><span class="cx" style="display: block; padding: 0 10px">         $wp_filename = $sitename . 'WordPress.' . $date . '.xml';
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Filters the export filename.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -129,11 +129,11 @@
</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 ( $args['start_date'] ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_date >= %s", date( 'Y-m-d', strtotime( $args['start_date'] ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_date >= %s", gmdate( 'Y-m-d', strtotime( $args['start_date'] ) ) );
</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">                if ( $args['end_date'] ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_date < %s", date( 'Y-m-d', strtotime( '+1 month', strtotime( $args['end_date'] ) ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $where .= $wpdb->prepare( " AND {$wpdb->posts}.post_date < %s", gmdate( 'Y-m-d', strtotime( '+1 month', strtotime( $args['end_date'] ) ) ) );
</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">@@ -458,7 +458,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <title><?php bloginfo_rss( 'name' ); ?></title>
</span><span class="cx" style="display: block; padding: 0 10px">        <link><?php bloginfo_rss( 'url' ); ?></link>
</span><span class="cx" style="display: block; padding: 0 10px">        <description><?php bloginfo_rss( 'description' ); ?></description>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        <pubDate><?php echo date( 'D, d M Y H:i:s +0000' ); ?></pubDate>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <pubDate><?php echo gmdate( 'D, d M Y H:i:s +0000' ); ?></pubDate>
</ins><span class="cx" style="display: block; padding: 0 10px">         <language><?php bloginfo_rss( 'language' ); ?></language>
</span><span class="cx" style="display: block; padding: 0 10px">        <wp:wxr_version><?php echo WXR_VERSION; ?></wp:wxr_version>
</span><span class="cx" style="display: block; padding: 0 10px">        <wp:base_site_url><?php echo wxr_site_url(); ?></wp:base_site_url>
</span></span></pre></div>
<a id="trunksrcwpadminincludespostphp"></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/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/post.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/post.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -170,10 +170,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $hh                     = $post_data['hh'];
</span><span class="cx" style="display: block; padding: 0 10px">                $mn                     = $post_data['mn'];
</span><span class="cx" style="display: block; padding: 0 10px">                $ss                     = $post_data['ss'];
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $aa                     = ( $aa <= 0 ) ? date( 'Y' ) : $aa;
-               $mm                     = ( $mm <= 0 ) ? date( 'n' ) : $mm;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $aa                     = ( $aa <= 0 ) ? gmdate( 'Y' ) : $aa;
+               $mm                     = ( $mm <= 0 ) ? gmdate( 'n' ) : $mm;
</ins><span class="cx" style="display: block; padding: 0 10px">                 $jj                     = ( $jj > 31 ) ? 31 : $jj;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $jj                     = ( $jj <= 0 ) ? date( 'j' ) : $jj;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $jj                     = ( $jj <= 0 ) ? gmdate( 'j' ) : $jj;
</ins><span class="cx" style="display: block; padding: 0 10px">                 $hh                     = ( $hh > 23 ) ? $hh - 24 : $hh;
</span><span class="cx" style="display: block; padding: 0 10px">                $mn                     = ( $mn > 59 ) ? $mn - 60 : $mn;
</span><span class="cx" style="display: block; padding: 0 10px">                $ss                     = ( $ss > 59 ) ? $ss - 60 : $ss;
</span></span></pre></div>
<a id="trunksrcwpadminincludesupgradephp"></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/upgrade.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/upgrade.php   2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/includes/upgrade.php     2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -941,7 +941,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        $time_difference = $all_options->time_difference;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $server_time = time() + date( 'Z' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $server_time = time() + gmdate( 'Z' );
</ins><span class="cx" style="display: block; padding: 0 10px">         $weblogger_time  = $server_time + $time_difference * HOUR_IN_SECONDS;
</span><span class="cx" style="display: block; padding: 0 10px">        $gmt_time        = time();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpadminoptionspermalinkphp"></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-permalink.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/options-permalink.php  2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-admin/options-permalink.php    2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -202,11 +202,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        </tr>
</span><span class="cx" style="display: block; padding: 0 10px">        <tr>
</span><span class="cx" style="display: block; padding: 0 10px">                <th scope="row"><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[1] ); ?>" <?php checked( $structures[1], $permalink_structure ); ?> /> <?php _e( 'Day and name' ); ?></label></th>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . date( 'Y' ) . '/' . date( 'm' ) . '/' . date( 'd' ) . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . gmdate( 'Y' ) . '/' . gmdate( 'm' ) . '/' . gmdate( 'd' ) . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td>
</ins><span class="cx" style="display: block; padding: 0 10px">         </tr>
</span><span class="cx" style="display: block; padding: 0 10px">        <tr>
</span><span class="cx" style="display: block; padding: 0 10px">                <th scope="row"><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[2] ); ?>" <?php checked( $structures[2], $permalink_structure ); ?> /> <?php _e( 'Month and name' ); ?></label></th>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . date( 'Y' ) . '/' . date( 'm' ) . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . gmdate( 'Y' ) . '/' . gmdate( 'm' ) . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td>
</ins><span class="cx" style="display: block; padding: 0 10px">         </tr>
</span><span class="cx" style="display: block; padding: 0 10px">        <tr>
</span><span class="cx" style="display: block; padding: 0 10px">                <th scope="row"><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[3] ); ?>" <?php checked( $structures[3], $permalink_structure ); ?> /> <?php _e( 'Numeric' ); ?></label></th>
</span></span></pre></div>
<a id="trunksrcwpincludesIXRclassIXRdatephp"></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/IXR/class-IXR-date.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/IXR/class-IXR-date.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/IXR/class-IXR-date.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -37,12 +37,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     function parseTimestamp($timestamp)
</span><span class="cx" style="display: block; padding: 0 10px">     {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $this->year = date('Y', $timestamp);
-        $this->month = date('m', $timestamp);
-        $this->day = date('d', $timestamp);
-        $this->hour = date('H', $timestamp);
-        $this->minute = date('i', $timestamp);
-        $this->second = date('s', $timestamp);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $this->year = gmdate('Y', $timestamp);
+        $this->month = gmdate('m', $timestamp);
+        $this->day = gmdate('d', $timestamp);
+        $this->hour = gmdate('H', $timestamp);
+        $this->minute = gmdate('i', $timestamp);
+        $this->second = gmdate('s', $timestamp);
</ins><span class="cx" style="display: block; padding: 0 10px">         $this->timezone = '';
</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="trunksrcwpincludesIXRclassIXRserverphp"></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/IXR/class-IXR-server.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/IXR/class-IXR-server.php    2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/IXR/class-IXR-server.php      2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -151,7 +151,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">             header('Content-Type: text/xml; charset='.$charset);
</span><span class="cx" style="display: block; padding: 0 10px">         else
</span><span class="cx" style="display: block; padding: 0 10px">             header('Content-Type: text/xml');
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        header('Date: '.date('r'));
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        header('Date: '.gmdate('r'));
</ins><span class="cx" style="display: block; padding: 0 10px">         echo $xml;
</span><span class="cx" style="display: block; padding: 0 10px">         exit;
</span><span class="cx" style="display: block; padding: 0 10px">     }
</span></span></pre></div>
<a id="trunksrcwpincludesbookmarktemplatephp"></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/bookmark-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/bookmark-template.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/bookmark-template.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,7 +87,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                $title .= ' (';
</span><span class="cx" style="display: block; padding: 0 10px">                                $title .= sprintf(
</span><span class="cx" style="display: block; padding: 0 10px">                                        __( 'Last updated: %s' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        date(
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 gmdate(
</ins><span class="cx" style="display: block; padding: 0 10px">                                                 get_option( 'links_updated_date_format' ),
</span><span class="cx" style="display: block; padding: 0 10px">                                                $bookmark->link_updated_f + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS )
</span><span class="cx" style="display: block; padding: 0 10px">                                        )
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpphp"></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.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp.php        2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/class-wp.php  2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -443,7 +443,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 ( ! $wp_last_modified ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                $wp_last_modified = date( 'D, d M Y H:i:s' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         $wp_last_modified = gmdate( 'D, d M Y H:i:s' );
</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">                        $wp_last_modified .= ' GMT';
</span></span></pre></div>
<a id="trunksrcwpincludescommentphp"></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/comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/comment.php 2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/comment.php   2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -337,7 +337,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comment_modified_date = $wpdb->get_var( "SELECT comment_date FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1" );
</span><span class="cx" style="display: block; padding: 0 10px">                        break;
</span><span class="cx" style="display: block; padding: 0 10px">                case 'server':
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $add_seconds_server = date( 'Z' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $add_seconds_server = gmdate( 'Z' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        $comment_modified_date = $wpdb->get_var( $wpdb->prepare( "SELECT DATE_ADD(comment_date_gmt, INTERVAL %s SECOND) FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1", $add_seconds_server ) );
</span><span class="cx" style="display: block; padding: 0 10px">                        break;
</span></span></pre></div>
<a id="trunksrcwpincludesdatephp"></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/date.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/date.php    2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/date.php      2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -317,7 +317,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                $_year = $date_query['year'];
</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">-                        $max_days_of_year = date( 'z', mktime( 0, 0, 0, 12, 31, $_year ) ) + 1;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $max_days_of_year = gmdate( 'z', mktime( 0, 0, 0, 12, 31, $_year ) ) + 1;
</ins><span class="cx" style="display: block; padding: 0 10px">                 } else {
</span><span class="cx" style="display: block; padding: 0 10px">                        // otherwise we use the max of 366 (leap-year)
</span><span class="cx" style="display: block; padding: 0 10px">                        $max_days_of_year = 366;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -352,7 +352,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                         * If we have a specific year, use it to calculate number of weeks.
</span><span class="cx" style="display: block; padding: 0 10px">                         * Note: the number of weeks in a year is the date in which Dec 28 appears.
</span><span class="cx" style="display: block; padding: 0 10px">                         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $week_count = date( 'W', mktime( 0, 0, 0, 12, 28, $_year ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $week_count = gmdate( 'W', mktime( 0, 0, 0, 12, 28, $_year ) );
</ins><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">                        // Otherwise set the week-count to a maximum of 53.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -923,7 +923,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 ( ! isset( $datetime['day'] ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $datetime['day'] = ( $default_to_max ) ? (int) date( 't', mktime( 0, 0, 0, $datetime['month'], 1, $datetime['year'] ) ) : 1;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $datetime['day'] = ( $default_to_max ) ? (int) gmdate( 't', mktime( 0, 0, 0, $datetime['month'], 1, $datetime['year'] ) ) : 1;
</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">                if ( ! isset( $datetime['hour'] ) ) {
</span></span></pre></div>
<a id="trunksrcwpincludesdeprecatedphp"></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/deprecated.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/deprecated.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/deprecated.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -960,7 +960,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( $show_updated )
</span><span class="cx" style="display: block; padding: 0 10px">                        if (substr($row->link_updated_f, 0, 2) != '00')
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                $title .= ' ('.__('Last updated') . ' ' . date(get_option('links_updated_date_format'), $row->link_updated_f + (get_option('gmt_offset') * HOUR_IN_SECONDS)) . ')';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         $title .= ' ('.__('Last updated') . ' ' . gmdate(get_option('links_updated_date_format'), $row->link_updated_f + (get_option('gmt_offset') * HOUR_IN_SECONDS)) . ')';
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( '' != $title )
</span><span class="cx" style="display: block; padding: 0 10px">                        $title = ' title="' . $title . '"';
</span></span></pre></div>
<a id="trunksrcwpincludesformattingphp"></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/formatting.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/formatting.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/formatting.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3432,13 +3432,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">        if ( $tz ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $datetime = date_create( $string, new DateTimeZone( 'UTC' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                if ( ! $datetime ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        return date( $format, 0 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 return gmdate( $format, 0 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 }
</span><span class="cx" style="display: block; padding: 0 10px">                $datetime->setTimezone( new DateTimeZone( $tz ) );
</span><span class="cx" style="display: block; padding: 0 10px">                $string_localtime = $datetime->format( $format );
</span><span class="cx" style="display: block; padding: 0 10px">        } else {
</span><span class="cx" style="display: block; padding: 0 10px">                if ( ! preg_match( '#([0-9]{1,4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})#', $string, $matches ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        return date( $format, 0 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 return gmdate( $format, 0 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 }
</span><span class="cx" style="display: block; padding: 0 10px">                $string_time      = gmmktime( $matches[4], $matches[5], $matches[6], $matches[2], $matches[3], $matches[1] );
</span><span class="cx" style="display: block; padding: 0 10px">                $string_localtime = gmdate( $format, $string_time + get_option( 'gmt_offset' ) * HOUR_IN_SECONDS );
</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-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/functions.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -41,7 +41,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        if ( $translate ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return date_i18n( $format, $i );
</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">-                return date( $format, $i );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         return gmdate( $format, $i );
</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">@@ -111,12 +111,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">        $dateformatstring = preg_replace( '/(?<!\\\\)r/', DATE_RFC2822, $dateformatstring );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        if ( ( ! empty( $wp_locale->month ) ) && ( ! empty( $wp_locale->weekday ) ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $datemonth            = $wp_locale->get_month( date( 'm', $i ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $datemonth            = $wp_locale->get_month( gmdate( 'm', $i ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $datemonth_abbrev     = $wp_locale->get_month_abbrev( $datemonth );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $dateweekday          = $wp_locale->get_weekday( date( 'w', $i ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $dateweekday          = $wp_locale->get_weekday( gmdate( 'w', $i ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $dateweekday_abbrev   = $wp_locale->get_weekday_abbrev( $dateweekday );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $datemeridiem         = $wp_locale->get_meridiem( date( 'a', $i ) );
-               $datemeridiem_capital = $wp_locale->get_meridiem( date( 'A', $i ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $datemeridiem         = $wp_locale->get_meridiem( gmdate( 'a', $i ) );
+               $datemeridiem_capital = $wp_locale->get_meridiem( gmdate( 'A', $i ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $dateformatstring     = ' ' . $dateformatstring;
</span><span class="cx" style="display: block; padding: 0 10px">                $dateformatstring     = preg_replace( '/([^\\\])D/', "\\1" . backslashit( $dateweekday_abbrev ), $dateformatstring );
</span><span class="cx" style="display: block; padding: 0 10px">                $dateformatstring     = preg_replace( '/([^\\\])F/', "\\1" . backslashit( $datemonth ), $dateformatstring );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -177,7 +177,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">-        $j = @date( $dateformatstring, $i );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $j = @gmdate( $dateformatstring, $i );
</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">         * Filters the date formatted based on the locale.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -415,7 +415,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        $day = mktime( 0, 0, 0, $md, $mm, $my );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // The day of the week from the timestamp.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $weekday = date( 'w', $day );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $weekday = gmdate( 'w', $day );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        if ( ! is_numeric( $start_of_week ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $start_of_week = get_option( 'start_of_week' );
</span></span></pre></div>
<a id="trunksrcwpincludesgeneraltemplatephp"></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/general-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/general-template.php        2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/general-template.php  2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2107,7 +2107,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">        $unixmonth = mktime( 0, 0, 0, $thismonth, 1, $thisyear );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $last_day  = date( 't', $unixmonth );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $last_day  = gmdate( 't', $unixmonth );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // Get the next and previous month and year with at least one post
</span><span class="cx" style="display: block; padding: 0 10px">        $previous = $wpdb->get_row(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2133,7 +2133,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <caption>' . sprintf(
</span><span class="cx" style="display: block; padding: 0 10px">                $calendar_caption,
</span><span class="cx" style="display: block; padding: 0 10px">                $wp_locale->get_month( $thismonth ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                date( 'Y', $unixmonth )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         gmdate( 'Y', $unixmonth )
</ins><span class="cx" style="display: block; padding: 0 10px">         ) . '</caption>
</span><span class="cx" style="display: block; padding: 0 10px">        <thead>
</span><span class="cx" style="display: block; padding: 0 10px">        <tr>';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2199,13 +2199,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">        // See how much we should pad in the beginning
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $pad = calendar_week_mod( date( 'w', $unixmonth ) - $week_begins );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $pad = calendar_week_mod( gmdate( 'w', $unixmonth ) - $week_begins );
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( 0 != $pad ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $calendar_output .= "\n\t\t" . '<td colspan="' . esc_attr( $pad ) . '" class="pad">&nbsp;</td>';
</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">        $newrow      = false;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $daysinmonth = (int) date( 't', $unixmonth );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $daysinmonth = (int) gmdate( 't', $unixmonth );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        for ( $day = 1; $day <= $daysinmonth; ++$day ) {
</span><span class="cx" style="display: block; padding: 0 10px">                if ( isset( $newrow ) && $newrow ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2223,7 +2223,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( in_array( $day, $daywithpost ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        // any posts today?
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $date_format = date( _x( 'F j, Y', 'daily archives date format' ), strtotime( "{$thisyear}-{$thismonth}-{$day}" ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $date_format = gmdate( _x( 'F j, Y', 'daily archives date format' ), strtotime( "{$thisyear}-{$thismonth}-{$day}" ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                         /* translators: Post calendar label. %s: Date */
</span><span class="cx" style="display: block; padding: 0 10px">                        $label            = sprintf( __( 'Posts published on %s' ), $date_format );
</span><span class="cx" style="display: block; padding: 0 10px">                        $calendar_output .= sprintf(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2237,12 +2237,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">                $calendar_output .= '</td>';
</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 ( 6 == calendar_week_mod( date( 'w', mktime( 0, 0, 0, $thismonth, $day, $thisyear ) ) - $week_begins ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( 6 == calendar_week_mod( gmdate( 'w', mktime( 0, 0, 0, $thismonth, $day, $thisyear ) ) - $week_begins ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                         $newrow = true;
</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">-        $pad = 7 - calendar_week_mod( date( 'w', mktime( 0, 0, 0, $thismonth, $day, $thisyear ) ) - $week_begins );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $pad = 7 - calendar_week_mod( gmdate( 'w', mktime( 0, 0, 0, $thismonth, $day, $thisyear ) ) - $week_begins );
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( $pad != 0 && $pad != 7 ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $calendar_output .= "\n\t\t" . '<td class="pad" colspan="' . esc_attr( $pad ) . '">&nbsp;</td>';
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4452,7 +4452,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $gen = '<!-- generator="WordPress/' . esc_attr( get_bloginfo( 'version' ) ) . '" -->';
</span><span class="cx" style="display: block; padding: 0 10px">                        break;
</span><span class="cx" style="display: block; padding: 0 10px">                case 'export':
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $gen = '<!-- generator="WordPress/' . esc_attr( get_bloginfo_rss( 'version' ) ) . '" created="' . date( 'Y-m-d H:i' ) . '" -->';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $gen = '<!-- generator="WordPress/' . esc_attr( get_bloginfo_rss( 'version' ) ) . '" created="' . gmdate( 'Y-m-d H:i' ) . '" -->';
</ins><span class="cx" style="display: block; padding: 0 10px">                         break;
</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="trunksrcwpincludeslinktemplatephp"></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/link-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/link-template.php   2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/link-template.php     2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -212,7 +212,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $author     = $authordata->user_nicename;
</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">-                $date           = explode( ' ', date( 'Y m d H i s', $unixtime ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $date           = explode( ' ', gmdate( 'Y m d H i s', $unixtime ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $rewritereplace =
</span><span class="cx" style="display: block; padding: 0 10px">                array(
</span><span class="cx" style="display: block; padding: 0 10px">                        $date[0],
</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-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/post.php      2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6031,8 +6031,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param WP_Post $post_before The Previous Post Object
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_check_for_changed_dates( $post_id, $post, $post_before ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $previous_date = date( 'Y-m-d', strtotime( $post_before->post_date ) );
-       $new_date      = date( 'Y-m-d', strtotime( $post->post_date ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $previous_date = gmdate( 'Y-m-d', strtotime( $post_before->post_date ) );
+       $new_date      = gmdate( 'Y-m-d', strtotime( $post->post_date ) );
</ins><span class="cx" style="display: block; padding: 0 10px">         // Don't bother if it hasn't changed.
</span><span class="cx" style="display: block; padding: 0 10px">        if ( $new_date == $previous_date ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6286,7 +6286,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $date = $wpdb->get_var( "SELECT post_{$field} FROM $wpdb->posts WHERE post_status = 'publish' AND post_type IN ({$post_types}) ORDER BY post_{$field}_gmt DESC LIMIT 1" );
</span><span class="cx" style="display: block; padding: 0 10px">                        break;
</span><span class="cx" style="display: block; padding: 0 10px">                case 'server':
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $add_seconds_server = date( 'Z' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $add_seconds_server = gmdate( 'Z' );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $date               = $wpdb->get_var( "SELECT DATE_ADD(post_{$field}_gmt, INTERVAL '$add_seconds_server' SECOND) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type IN ({$post_types}) ORDER BY post_{$field}_gmt DESC LIMIT 1" );
</span><span class="cx" style="display: block; padding: 0 10px">                        break;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp"></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/rest-api/endpoints/class-wp-rest-posts-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1478,7 +1478,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        // based on the `post_modified` field with the site's timezone
</span><span class="cx" style="display: block; padding: 0 10px">                        // offset applied.
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( '0000-00-00 00:00:00' === $post->post_modified_gmt ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                $post_modified_gmt = date( 'Y-m-d H:i:s', strtotime( $post->post_modified ) - ( get_option( 'gmt_offset' ) * 3600 ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         $post_modified_gmt = gmdate( 'Y-m-d H:i:s', strtotime( $post->post_modified ) - ( get_option( 'gmt_offset' ) * 3600 ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                         } else {
</span><span class="cx" style="display: block; padding: 0 10px">                                $post_modified_gmt = $post->post_modified_gmt;
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiendpointsclasswprestuserscontrollerphp"></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/rest-api/endpoints/class-wp-rest-users-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -925,7 +925,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 ( in_array( 'registered_date', $fields, true ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $data['registered_date'] = date( 'c', strtotime( $user->user_registered ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $data['registered_date'] = gmdate( 'c', strtotime( $user->user_registered ) );
</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">                if ( in_array( 'capabilities', $fields, true ) ) {
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiphp"></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/rest-api.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api.php        2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/src/wp-includes/rest-api.php  2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -924,10 +924,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">        // Timezone conversion needs to be handled differently between these two
</span><span class="cx" style="display: block; padding: 0 10px">        // cases.
</span><span class="cx" style="display: block; padding: 0 10px">        if ( ! $is_utc && ! $has_timezone ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $local = date( 'Y-m-d H:i:s', $date );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $local = gmdate( 'Y-m-d H:i:s', $date );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $utc   = get_gmt_from_date( $local );
</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">-                $utc   = date( 'Y-m-d H:i:s', $date );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $utc   = gmdate( 'Y-m-d H:i:s', $date );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $local = get_date_from_gmt( $utc );
</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="trunktestsphpunitincludestestcaserestposttypecontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,7 +10,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( $post->post_name, $data['slug'] );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( get_permalink( $post->ID ), $data['link'] );
</span><span class="cx" style="display: block; padding: 0 10px">                if ( '0000-00-00 00:00:00' === $post->post_date_gmt ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $post_date_gmt = date( 'Y-m-d H:i:s', strtotime( $post->post_date ) - ( get_option( 'gmt_offset' ) * 3600 ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $post_date_gmt = gmdate( 'Y-m-d H:i:s', strtotime( $post->post_date ) - ( get_option( 'gmt_offset' ) * 3600 ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $this->assertEquals( mysql_to_rfc3339( $post_date_gmt ), $data['date_gmt'] );
</span><span class="cx" style="display: block; padding: 0 10px">                } else {
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->assertEquals( mysql_to_rfc3339( $post->post_date_gmt ), $data['date_gmt'] );
</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">                $this->assertEquals( mysql_to_rfc3339( $post->post_date ), $data['date'] );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( '0000-00-00 00:00:00' === $post->post_modified_gmt ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $post_modified_gmt = date( 'Y-m-d H:i:s', strtotime( $post->post_modified ) - ( get_option( 'gmt_offset' ) * 3600 ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $post_modified_gmt = gmdate( 'Y-m-d H:i:s', strtotime( $post->post_modified ) - ( get_option( 'gmt_offset' ) * 3600 ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $this->assertEquals( mysql_to_rfc3339( $post_modified_gmt ), $data['modified_gmt'] );
</span><span class="cx" style="display: block; padding: 0 10px">                } else {
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->assertEquals( mysql_to_rfc3339( $post->post_modified_gmt ), $data['modified_gmt'] );
</span></span></pre></div>
<a id="trunktestsphpunittestsadminincludesCommunityEventsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/admin/includesCommunityEvents.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/admin/includesCommunityEvents.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/admin/includesCommunityEvents.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -164,7 +164,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertNotWPError( $response );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEqualSetsWithIndex( $this->get_user_location(), $response['location'] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertEquals( date( 'l, M j, Y', strtotime( 'next Sunday 1pm' ) ), $response['events'][0]['formatted_date'] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertEquals( gmdate( 'l, M j, Y', strtotime( 'next Sunday 1pm' ) ), $response['events'][0]['formatted_date'] );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals( '1:00 pm', $response['events'][0]['formatted_time'] );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                remove_filter( 'pre_http_request', array( $this, '_http_request_valid_response' ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -185,7 +185,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertNotWPError( $cached_events );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEqualSetsWithIndex( $this->get_user_location(), $cached_events['location'] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertEquals( date( 'l, M j, Y', strtotime( 'next Sunday 1pm' ) ), $cached_events['events'][0]['formatted_date'] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertEquals( gmdate( 'l, M j, Y', strtotime( 'next Sunday 1pm' ) ), $cached_events['events'][0]['formatted_date'] );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals( '1:00 pm', $cached_events['events'][0]['formatted_time'] );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                remove_filter( 'pre_http_request', array( $this, '_http_request_valid_response' ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -211,7 +211,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/Eastbay-WordPress-Meetup/events/236031233/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'The East Bay WordPress Meetup Group',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/Eastbay-WordPress-Meetup/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Sunday 1pm' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Sunday 1pm' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Oakland, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -225,7 +225,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/Wordpress-Bay-Area-CA-Foothills/events/237706839/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'WordPress Bay Area Foothills Group',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/Wordpress-Bay-Area-CA-Foothills/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Wednesday 1:30pm' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Wednesday 1:30pm' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Milpitas, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -239,7 +239,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://2017.kansascity.wordcamp.org',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => null,
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => null,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Saturday' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Saturday' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Kansas City, MO',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'US',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -303,7 +303,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/Eastbay-WordPress-Meetup/events/236031233/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'The East Bay WordPress Meetup Group',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/Eastbay-WordPress-Meetup/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Monday 1pm' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Monday 1pm' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Oakland, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -317,7 +317,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/Wordpress-Bay-Area-CA-Foothills/events/237706839/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'WordPress Bay Area Foothills Group',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/Wordpress-Bay-Area-CA-Foothills/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Tuesday 1:30pm' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Tuesday 1:30pm' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Milpitas, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -331,7 +331,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/sanjosewp/events/245419844/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'The San Jose WordPress Meetup',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/sanjosewp/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Wednesday 5:30pm' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Wednesday 5:30pm' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Milpitas, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -345,7 +345,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://2018.sandiego.wordcamp.org',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => null,
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => null,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Thursday 9am' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Thursday 9am' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'San Diego, CA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'US',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -406,7 +406,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/Eastbay-WordPress-Meetup/events/236031233/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'The East Bay WordPress Meetup Group',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/Eastbay-WordPress-Meetup/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( '2 days ago' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( '2 days ago' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Oakland, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -420,7 +420,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://2018.sandiego.wordcamp.org',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => null,
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => null,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Tuesday 9am' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Tuesday 9am' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'San Diego, CA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'US',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -434,7 +434,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/Wordpress-Bay-Area-CA-Foothills/events/237706839/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'WordPress Bay Area Foothills Group',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/Wordpress-Bay-Area-CA-Foothills/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Wednesday 1:30pm' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Wednesday 1:30pm' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Milpitas, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -448,7 +448,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://www.meetup.com/sanjosewp/events/245419844/',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => 'The San Jose WordPress Meetup',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => 'https://www.meetup.com/sanjosewp/',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Thursday 5:30pm' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Thursday 5:30pm' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Milpitas, CA, USA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'us',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -462,7 +462,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'url'        => 'https://2018.la.wordcamp.org',
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup'     => null,
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'meetup_url' => null,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        'date'       => date( 'Y-m-d H:i:s', strtotime( 'next Friday 9am' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 'date'       => gmdate( 'Y-m-d H:i:s', strtotime( 'next Friday 9am' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                         'location'   => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'location'  => 'Los Angeles, CA',
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'country'   => 'US',
</span></span></pre></div>
<a id="trunktestsphpunittestsadminincludesPostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/admin/includesPost.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/admin/includesPost.php  2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/admin/includesPost.php    2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -355,7 +355,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $permalink_structure = '%postname%';
</span><span class="cx" style="display: block; padding: 0 10px">                $this->set_permalink_structure( "/$permalink_structure/" );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $future_date = date( 'Y-m-d H:i:s', time() + 100 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $future_date = gmdate( 'Y-m-d H:i:s', time() + 100 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $p           = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'future',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -377,7 +377,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_get_sample_permalink_html_should_use_default_permalink_for_view_post_link_when_pretty_permalinks_are_disabled() {
</span><span class="cx" style="display: block; padding: 0 10px">                wp_set_current_user( self::$admin_id );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $future_date = date( 'Y-m-d H:i:s', time() + 100 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $future_date = gmdate( 'Y-m-d H:i:s', time() + 100 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $p           = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'future',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -400,7 +400,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                wp_set_current_user( self::$admin_id );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $future_date = date( 'Y-m-d H:i:s', time() + 100 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $future_date = gmdate( 'Y-m-d H:i:s', time() + 100 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $p           = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'future',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -464,7 +464,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertContains( '>new_slug-صورة<', $found, $message );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Scheduled posts should use published permalink
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $future_date = date( 'Y-m-d H:i:s', time() + 100 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $future_date = gmdate( 'Y-m-d H:i:s', time() + 100 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $p           = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'future',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -507,7 +507,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                wp_set_current_user( self::$admin_id );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $future_date = date( 'Y-m-d H:i:s', time() + 100 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $future_date = gmdate( 'Y-m-d H:i:s', time() + 100 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $p           = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'pending',
</span></span></pre></div>
<a id="trunktestsphpunittestsbasicphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/basic.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/basic.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/basic.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,7 +13,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $license = file_get_contents( ABSPATH . 'license.txt' );
</span><span class="cx" style="display: block; padding: 0 10px">                preg_match( '#Copyright 2011-(\d+) by the contributors#', $license, $matches );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this_year = date( 'Y' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this_year = gmdate( 'Y' );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals( $this_year, trim( $matches[1] ), "license.txt's year needs to be updated to $this_year." );
</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="trunktestsphpunittestscommentcommentsTemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/commentsTemplate.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/commentsTemplate.php    2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment/commentsTemplate.php      2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,7 +17,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,7 +24,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">@@ -51,7 +51,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -58,7 +58,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">@@ -85,7 +85,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -92,7 +92,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">@@ -119,7 +119,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -126,7 +126,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">@@ -153,7 +153,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -160,7 +160,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -167,7 +167,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_4 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -174,7 +174,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">                $comment_5 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -181,7 +181,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 500 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 500 ),
</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">                $comment_6 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -188,7 +188,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 600 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 600 ),
</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">@@ -224,7 +224,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -231,7 +231,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -238,7 +238,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_4 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -245,7 +245,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">                $comment_5 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -252,7 +252,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 500 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 500 ),
</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">                $comment_6 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -259,7 +259,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 600 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 600 ),
</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">@@ -295,7 +295,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -302,7 +302,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -309,7 +309,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_4 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -316,7 +316,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">@@ -352,7 +352,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -359,7 +359,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -366,7 +366,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_4 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -373,7 +373,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">@@ -411,7 +411,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -418,7 +418,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -425,7 +425,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">@@ -463,7 +463,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -470,7 +470,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -477,7 +477,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">@@ -513,7 +513,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -520,7 +520,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -527,7 +527,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_4 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -534,7 +534,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">@@ -592,7 +592,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -599,7 +599,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -606,7 +606,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_4 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -613,7 +613,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">                $comment_5 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -620,7 +620,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 500 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 500 ),
</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">                $comment_6 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -627,7 +627,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 600 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 600 ),
</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">@@ -706,7 +706,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -714,7 +714,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -722,7 +722,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_4 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -730,7 +730,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">@@ -762,7 +762,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -770,7 +770,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -778,7 +778,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'      => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'      => '3',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved'     => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt'     => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt'     => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'comment_author_email' => $comment_author_email,
</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">@@ -787,7 +787,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'      => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'      => '4',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved'     => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt'     => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt'     => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'comment_author_email' => $comment_author_email,
</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">@@ -796,7 +796,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'      => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'      => '5',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved'     => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt'     => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt'     => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'comment_author_email' => $comment_author_email,
</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">@@ -805,7 +805,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '6',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">@@ -842,7 +842,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'      => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'      => '1',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved'     => '0',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt'     => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt'     => gmdate( 'Y-m-d H:i:s', $now ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'comment_author_email' => 'foo@bar.mail',
</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">@@ -878,7 +878,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -886,7 +886,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -895,7 +895,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_parent'   => $comment_1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">@@ -923,7 +923,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                $comment_2 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -931,7 +931,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                $comment_3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -940,7 +940,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => '1',
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_parent'   => $comment_1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         )
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunktestsphpunittestscommentgetCommentLinkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/getCommentLink.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/getCommentLink.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment/getCommentLink.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,7 +15,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '1',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 100 ),
</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">                self::$comments[] = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,7 +22,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '2',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 200 ),
</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">                self::$comments[] = self::factory()->comment->create(
</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">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '3',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 300 ),
</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">                self::$comments[] = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,7 +36,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 400 ),
</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">                self::$comments[] = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,7 +43,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 500 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 500 ),
</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">                self::$comments[] = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -50,7 +50,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_content'  => '4',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 600 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 600 ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         )
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunktestsphpunittestscommentgetPageOfCommentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/getPageOfComment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/getPageOfComment.php    2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment/getPageOfComment.php      2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -45,7 +45,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_type'     => 'trackback',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ),
</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">                        $now             -= 10 * $i;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -57,7 +57,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_type'     => 'pingback',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ),
</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">                        $now            -= 10 * $i;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -135,7 +135,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_type'     => 'trackback',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( 10 * $i ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( 10 * $i ) ),
</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">@@ -226,13 +226,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $c1 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ),
</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">                $c2 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ),
</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">                $c3 = self::factory()->comment->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -239,7 +239,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_approved' => 0,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ),
</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">@@ -262,13 +262,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments_0[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $posts[0],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),
</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">                        $comments_1[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $posts[1],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),
</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">@@ -292,7 +292,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $parent                = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $post,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),
</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">                        $comment_parents[ $i ] = $parent;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -300,7 +300,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $child                  = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $post,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 59 ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 59 ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         'comment_parent'   => $parent,
</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">@@ -336,19 +336,19 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $c1 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ),
</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">                $c2 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ),
</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">                $c3 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ),
</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">@@ -369,25 +369,25 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $c1 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ),
</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">                $c2 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ),
</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">                $c3 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ),
</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">                $c4 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ),
</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">@@ -409,25 +409,25 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $c1 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ),
</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">                $c2 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ),
</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">                $c3 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ),
</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">                $c4 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         )
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunktestsphpunittestscommentmetaCachephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/metaCache.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/metaCache.php   2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment/metaCache.php     2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -142,7 +142,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $posts[0],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( 60 * $i ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( 60 * $i ) ),
</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">@@ -190,7 +190,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $posts[0],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( 60 * $i ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( 60 * $i ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 )
</span><span class="cx" style="display: block; padding: 0 10px">                        );
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span></span></pre></div>
<a id="trunktestsphpunittestscommentqueryphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/query.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment/query.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2949,25 +2949,25 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $c1 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 50 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 50 ),
</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">                $c2 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ),
</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">                $c3 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ),
</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">                $c4 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ),
</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">@@ -2995,25 +2995,25 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $c1 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 50 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 50 ),
</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">                $c2 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ),
</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">                $c3 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ),
</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">                $c4 = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'comment_post_ID'  => self::$post_id,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         )
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunktestsphpunittestscommentwpAllowCommentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/wpAllowComment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/wpAllowComment.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment/wpAllowComment.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,7 +42,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_content'      => 'Yes, we can!',
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_author_IP'    => '192.168.0.1',
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_parent'       => 0,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        'comment_date_gmt'     => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'comment_date_gmt'     => gmdate( 'Y-m-d H:i:s', $now ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         'comment_agent'        => 'Bobbot/2.1',
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_type'         => '',
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -65,7 +65,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_content'      => 'Yes, we can!',
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_author_IP'    => '192.168.0.1',
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_parent'       => 0,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        'comment_date_gmt'     => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 'comment_date_gmt'     => gmdate( 'Y-m-d H:i:s', $now ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         'comment_agent'        => 'Bobbot/2.1',
</span><span class="cx" style="display: block; padding: 0 10px">                        'comment_type'         => '',
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span></span></pre></div>
<a id="trunktestsphpunittestscommentwpListCommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/wpListComments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/wpListComments.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment/wpListComments.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,7 +16,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - $i ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - $i ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         'comment_author'   => 'Commenter ' . $i,
</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">@@ -54,7 +54,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - $i ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - $i ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         'comment_author'   => 'Commenter ' . $i,
</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">@@ -92,7 +92,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - $i ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - $i ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         'comment_author'   => 'Commenter ' . $i,
</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">@@ -138,7 +138,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - $i ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - $i ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         'comment_author'   => 'Commenter ' . $i,
</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">@@ -178,7 +178,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - $i ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - $i ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         'comment_author'   => 'Commenter ' . $i,
</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">@@ -223,7 +223,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $comments[] = self::factory()->comment->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'comment_post_ID'  => $p,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - $i ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - $i ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         'comment_author'   => 'Commenter ' . $i,
</span><span class="cx" style="display: block; padding: 0 10px">                                        'user_id'          => $u,
</span><span class="cx" style="display: block; padding: 0 10px">                                )
</span></span></pre></div>
<a id="trunktestsphpunittestscommentsubmissionphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment-submission.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment-submission.php  2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/comment-submission.php    2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -133,7 +133,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $post = self::factory()->post->create_and_get(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date' => date( 'Y-m-d H:i:s', strtotime( '+1 day' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date' => gmdate( 'Y-m-d H:i:s', strtotime( '+1 day' ) ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         )
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunktestsphpunittestsdatedateI18nphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/date/dateI18n.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/date/dateI18n.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/date/dateI18n.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Date_I18n extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_should_format_date() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertEquals( strtotime( date( 'Y-m-d H:i:s' ) ), strtotime( date_i18n( 'Y-m-d H:i:s' ) ), 'The dates should be equal', 2 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertEquals( strtotime( gmdate( 'Y-m-d H:i:s' ) ), strtotime( date_i18n( 'Y-m-d H:i:s' ) ), 'The dates should be equal', 2 );
</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">        public function test_should_use_custom_timestamp() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,7 +14,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">        public function test_date_should_be_in_gmt() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertEquals( strtotime( date( DATE_RFC3339 ) ), strtotime( date_i18n( DATE_RFC3339, false, true ) ), 'The dates should be equal', 2 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertEquals( strtotime( gmdate( DATE_RFC3339 ) ), strtotime( date_i18n( DATE_RFC3339, false, true ) ), 'The dates should be equal', 2 );
</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">        public function test_custom_timestamp_ignores_gmt_setting() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,13 +24,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_custom_timezone_setting() {
</span><span class="cx" style="display: block; padding: 0 10px">                update_option( 'timezone_string', 'America/Regina' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertEquals( strtotime( date( 'Y-m-d H:i:s', time() + get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ), strtotime( date_i18n( 'Y-m-d H:i:s' ) ), 'The dates should be equal', 2 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertEquals( strtotime( gmdate( 'Y-m-d H:i:s', time() + get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ), strtotime( date_i18n( 'Y-m-d H:i:s' ) ), 'The dates should be equal', 2 );
</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">        public function test_date_should_be_in_gmt_with_custom_timezone_setting() {
</span><span class="cx" style="display: block; padding: 0 10px">                update_option( 'timezone_string', 'America/Regina' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertEquals( strtotime( date( DATE_RFC3339 ) ), strtotime( date_i18n( DATE_RFC3339, false, true ) ), 'The dates should be equal', 2 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertEquals( strtotime( gmdate( DATE_RFC3339 ) ), strtotime( date_i18n( DATE_RFC3339, false, true ) ), 'The dates should be equal', 2 );
</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">        public function test_date_should_be_in_gmt_with_custom_timezone_setting_and_timestamp() {
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsgetArchivesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/getArchives.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/getArchives.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/functions/getArchives.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,8 +15,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        function setUp() {
</span><span class="cx" style="display: block; padding: 0 10px">                parent::setUp();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->month_url = get_month_link( date( 'Y' ), date( 'm' ) );
-               $this->year_url  = get_year_link( date( 'Y' ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->month_url = get_month_link( gmdate( 'Y' ), gmdate( 'm' ) );
+               $this->year_url  = get_year_link( gmdate( 'Y' ) );
</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">        public static function wpSetUpBeforeClass( $factory ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,12 +30,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">        function test_wp_get_archives_default() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $expected['default'] = "<li><a href='" . $this->month_url . "'>" . date( 'F Y' ) . '</a></li>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $expected['default'] = "<li><a href='" . $this->month_url . "'>" . gmdate( 'F Y' ) . '</a></li>';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals( $expected['default'], trim( wp_get_archives( array( 'echo' => false ) ) ) );
</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">        function test_wp_get_archives_type() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $expected['type'] = "<li><a href='" . $this->year_url . "'>" . date( 'Y' ) . '</a></li>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $expected['type'] = "<li><a href='" . $this->year_url . "'>" . gmdate( 'Y' ) . '</a></li>';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals(
</span><span class="cx" style="display: block; padding: 0 10px">                        $expected['type'],
</span><span class="cx" style="display: block; padding: 0 10px">                        trim(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,7 +86,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">        function test_wp_get_archives_format() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $expected['format'] = "<option value='" . $this->month_url . "'> " . date( 'F Y' ) . ' </option>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $expected['format'] = "<option value='" . $this->month_url . "'> " . gmdate( 'F Y' ) . ' </option>';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals(
</span><span class="cx" style="display: block; padding: 0 10px">                        $expected['format'],
</span><span class="cx" style="display: block; padding: 0 10px">                        trim(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -101,7 +101,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">        function test_wp_get_archives_before_and_after() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $expected['before_and_after'] = "<div><a href='" . $this->month_url . "'>" . date( 'F Y' ) . '</a></div>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $expected['before_and_after'] = "<div><a href='" . $this->month_url . "'>" . gmdate( 'F Y' ) . '</a></div>';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals(
</span><span class="cx" style="display: block; padding: 0 10px">                        $expected['before_and_after'],
</span><span class="cx" style="display: block; padding: 0 10px">                        trim(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -118,7 +118,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">        function test_wp_get_archives_show_post_count() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $expected['show_post_count'] = "<li><a href='" . $this->month_url . "'>" . date( 'F Y' ) . '</a>&nbsp;(8)</li>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $expected['show_post_count'] = "<li><a href='" . $this->month_url . "'>" . gmdate( 'F Y' ) . '</a>&nbsp;(8)</li>';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertEquals(
</span><span class="cx" style="display: block; padding: 0 10px">                        $expected['show_post_count'],
</span><span class="cx" style="display: block; padding: 0 10px">                        trim(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -133,7 +133,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">        function test_wp_get_archives_echo() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $expected['echo'] = "\t<li><a href='" . $this->month_url . "'>" . date( 'F Y' ) . '</a></li>' . "\n";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $expected['echo'] = "\t<li><a href='" . $this->month_url . "'>" . gmdate( 'F Y' ) . '</a></li>' . "\n";
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->expectOutputString( $expected['echo'] );
</span><span class="cx" style="display: block; padding: 0 10px">                wp_get_archives( array( 'echo' => true ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -147,7 +147,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">-                $date_full             = date( 'F Y' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $date_full             = gmdate( 'F Y' );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $oct_url               = get_month_link( 2012, 10 );
</span><span class="cx" style="display: block; padding: 0 10px">                $expected['order_asc'] = <<<EOF
</span><span class="cx" style="display: block; padding: 0 10px"> <li><a href='{$oct_url}'>October 2012</a></li>
</span></span></pre></div>
<a id="trunktestsphpunittestsmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/media.php       2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/media.php 2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1428,7 +1428,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        function test_wp_calculate_image_srcset() {
</span><span class="cx" style="display: block; padding: 0 10px">                $_wp_additional_image_sizes = wp_get_additional_image_sizes();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $year_month      = date( 'Y/m' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $year_month      = gmdate( 'Y/m' );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $image_meta      = wp_get_attachment_metadata( self::$large_id );
</span><span class="cx" style="display: block; padding: 0 10px">                $uploads_dir_url = 'http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1550,7 +1550,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        function test_wp_calculate_image_srcset_with_absolute_path_in_meta() {
</span><span class="cx" style="display: block; padding: 0 10px">                $_wp_additional_image_sizes = wp_get_additional_image_sizes();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $year_month      = date( 'Y/m' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $year_month      = gmdate( 'Y/m' );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $image_meta      = wp_get_attachment_metadata( self::$large_id );
</span><span class="cx" style="display: block; padding: 0 10px">                $uploads_dir_url = 'http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1831,7 +1831,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $srcset = wp_get_attachment_image_srcset( self::$large_id, $size_array, $image_meta );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $year_month  = date( 'Y/m' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $year_month  = gmdate( 'Y/m' );
</ins><span class="cx" style="display: block; padding: 0 10px">                 $uploads_dir = 'http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Set up test cases for all expected size names.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2228,8 +2228,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                remove_all_filters( 'wp_calculate_image_sizes' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $actual = wp_get_attachment_image( self::$large_id, 'testsize' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $year   = date( 'Y' );
-               $month  = date( 'm' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $year   = gmdate( 'Y' );
+               $month  = gmdate( 'm' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $expected = '<img width="999" height="999" src="http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/' . $year . '/' . $month . '/test-image-testsize-999x999.png"' .
</span><span class="cx" style="display: block; padding: 0 10px">                        ' class="attachment-testsize size-testsize" alt=""' .
</span></span></pre></div>
<a id="trunktestsphpunittestsmultisitewpmuValidateUserSignupphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/multisite/wpmuValidateUserSignup.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/multisite/wpmuValidateUserSignup.php    2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/multisite/wpmuValidateUserSignup.php      2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -99,7 +99,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        remove_filter( 'wpmu_signup_user_notification', '__return_true' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        global $wpdb;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $date = date( 'Y-m-d H:i:s', time() - ( 2 * DAY_IN_SECONDS ) - 60 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $date = gmdate( 'Y-m-d H:i:s', time() - ( 2 * DAY_IN_SECONDS ) - 60 );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $wpdb->update( $wpdb->signups, array( 'registered' => $date ), array( 'user_login' => 'foo123' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        $v = wpmu_validate_user_signup( 'foo123', 'foo2@example.com' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -123,7 +123,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        remove_filter( 'wpmu_signup_user_notification', '__return_true' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        global $wpdb;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $date = date( 'Y-m-d H:i:s', time() - ( 2 * DAY_IN_SECONDS ) - 60 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $date = gmdate( 'Y-m-d H:i:s', time() - ( 2 * DAY_IN_SECONDS ) - 60 );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $wpdb->update( $wpdb->signups, array( 'registered' => $date ), array( 'user_login' => 'foo123' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        $v = wpmu_validate_user_signup( 'foo2', 'foo2@example.com' );
</span></span></pre></div>
<a id="trunktestsphpunittestspostlistPagesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/post/listPages.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/post/listPages.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/post/listPages.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,7 +49,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public static function wpSetupBeforeClass() {
</span><span class="cx" style="display: block; padding: 0 10px">                self::$time = time();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $post_date = date( 'Y-m-d H:i:s', self::$time );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $post_date = gmdate( 'Y-m-d H:i:s', self::$time );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                self::$parent_1 = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -157,7 +157,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'depth'     => 1,
</span><span class="cx" style="display: block; padding: 0 10px">                        'show_date' => 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">-                $date = date( get_option( 'date_format' ), self::$time );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $date = gmdate( get_option( 'date_format' ), self::$time );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $expected = '<li class="pagenav">Pages<ul><li class="page_item page-item-' . self::$parent_1 . ' page_item_has_children"><a href="' . get_permalink( self::$parent_1 ) . '">Parent 1</a> ' . $date . '</li>
</span><span class="cx" style="display: block; padding: 0 10px"> <li class="page_item page-item-' . self::$parent_2 . ' page_item_has_children"><a href="' . get_permalink( self::$parent_2 ) . '">Parent 2</a> ' . $date . '</li>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -173,7 +173,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'show_date'   => true,
</span><span class="cx" style="display: block; padding: 0 10px">                        'date_format' => 'l, F j, Y',
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $date = date( $args['date_format'], self::$time );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $date = gmdate( $args['date_format'], self::$time );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $expected = '<li class="pagenav">Pages<ul><li class="page_item page-item-' . self::$parent_1 . ' page_item_has_children"><a href="' . get_permalink( self::$parent_1 ) . '">Parent 1</a> ' . $date . '
</span><span class="cx" style="display: block; padding: 0 10px"> <ul class=\'children\'>
</span></span></pre></div>
<a id="trunktestsphpunittestspostrevisionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/post/revisions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/post/revisions.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/post/revisions.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -532,7 +532,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $now          = time();
</span><span class="cx" style="display: block; padding: 0 10px">                for ( $j = 1; $j < 3; $j++ ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        // Manually modify dates to ensure they're different.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $date                                  = date( 'Y-m-d H:i:s', $now - ( $j * 10 ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $date                                  = gmdate( 'Y-m-d H:i:s', $now - ( $j * 10 ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $post_revision_fields['post_date']     = $date;
</span><span class="cx" style="display: block; padding: 0 10px">                        $post_revision_fields['post_date_gmt'] = $date;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -563,7 +563,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $post_revision_fields = wp_slash( $post_revision_fields );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $revision_ids = array();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $date         = date( 'Y-m-d H:i:s', time() - 10 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $date         = gmdate( 'Y-m-d H:i:s', time() - 10 );
</ins><span class="cx" style="display: block; padding: 0 10px">                 for ( $j = 1; $j < 3; $j++ ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        // Manually modify dates to ensure they're the same.
</span><span class="cx" style="display: block; padding: 0 10px">                        $post_revision_fields['post_date']     = $date;
</span></span></pre></div>
<a id="trunktestsphpunittestsquerystickiesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/query/stickies.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/query/stickies.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/query/stickies.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,7 +12,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                // Set post times to get a reliable order.
</span><span class="cx" style="display: block; padding: 0 10px">                $now = time();
</span><span class="cx" style="display: block; padding: 0 10px">                for ( $i = 0; $i <= 22; $i++ ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $post_date         = date( 'Y-m-d H:i:s', $now - ( 10 * $i ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $post_date         = gmdate( 'Y-m-d H:i:s', $now - ( 10 * $i ) );
</ins><span class="cx" style="display: block; padding: 0 10px">                         self::$posts[ $i ] = $factory->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'post_date' => $post_date,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_stickies_should_be_ignored_when_is_home_is_false() {
</span><span class="cx" style="display: block; padding: 0 10px">                $q = new WP_Query(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'year'           => date( 'Y' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'year'           => gmdate( 'Y' ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'fields'         => 'ids',
</span><span class="cx" style="display: block; padding: 0 10px">                                'posts_per_page' => 3,
</span><span class="cx" style="display: block; padding: 0 10px">                        )
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestpostscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2010,8 +2010,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( 'draft', $data['status'] );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( 'draft', $new_post->post_status );
</span><span class="cx" style="display: block; padding: 0 10px">                // Confirm dates are shimmed for gmt_offset
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $post_modified_gmt = date( 'Y-m-d H:i:s', strtotime( $new_post->post_modified ) + ( get_option( 'gmt_offset' ) * 3600 ) );
-               $post_date_gmt     = date( 'Y-m-d H:i:s', strtotime( $new_post->post_date ) + ( get_option( 'gmt_offset' ) * 3600 ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $post_modified_gmt = gmdate( 'Y-m-d H:i:s', strtotime( $new_post->post_modified ) + ( get_option( 'gmt_offset' ) * 3600 ) );
+               $post_date_gmt     = gmdate( 'Y-m-d H:i:s', strtotime( $new_post->post_date ) + ( get_option( 'gmt_offset' ) * 3600 ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( mysql_to_rfc3339( $post_modified_gmt ), $data['modified_gmt'] );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( mysql_to_rfc3339( $post_date_gmt ), $data['date_gmt'] );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2736,8 +2736,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( $new_content, $new_post->post_content );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // The modified date should equal the current time.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertEquals( date( 'Y-m-d', strtotime( mysql_to_rfc3339( $expected_modified ) ) ), date( 'Y-m-d', strtotime( $data['modified'] ) ) );
-               $this->assertEquals( date( 'Y-m-d', strtotime( $expected_modified ) ), date( 'Y-m-d', strtotime( $new_post->post_modified ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertEquals( gmdate( 'Y-m-d', strtotime( mysql_to_rfc3339( $expected_modified ) ) ), gmdate( 'Y-m-d', strtotime( $data['modified'] ) ) );
+               $this->assertEquals( gmdate( 'Y-m-d', strtotime( $expected_modified ) ), gmdate( 'Y-m-d', strtotime( $new_post->post_modified ) ) );
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestuserscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-users-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-users-controller.php      2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/rest-api/rest-users-controller.php        2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2791,7 +2791,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->assertEquals( $user->user_email, $data['email'] );
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->assertEquals( (object) $user->allcaps, $data['capabilities'] );
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->assertEquals( (object) $user->caps, $data['extra_capabilities'] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $this->assertEquals( date( 'c', strtotime( $user->user_registered ) ), $data['registered_date'] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $this->assertEquals( gmdate( 'c', strtotime( $user->user_registered ) ), $data['registered_date'] );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $this->assertEquals( $user->user_login, $data['username'] );
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->assertEquals( $user->roles, $data['roles'] );
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->assertEquals( get_user_locale( $user ), $data['locale'] );
</span></span></pre></div>
<a id="trunktestsphpunittestsurlphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/url.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/url.php 2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/url.php   2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -336,8 +336,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_get_adjacent_post() {
</span><span class="cx" style="display: block; padding: 0 10px">                $now      = time();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $post_id  = self::factory()->post->create( array( 'post_date' => date( 'Y-m-d H:i:s', $now - 1 ) ) );
-               $post_id2 = self::factory()->post->create( array( 'post_date' => date( 'Y-m-d H:i:s', $now ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $post_id  = self::factory()->post->create( array( 'post_date' => gmdate( 'Y-m-d H:i:s', $now - 1 ) ) );
+               $post_id2 = self::factory()->post->create( array( 'post_date' => gmdate( 'Y-m-d H:i:s', $now ) ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( ! isset( $GLOBALS['post'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        $GLOBALS['post'] = null;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -379,13 +379,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author' => $u,
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'private',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'   => date( 'Y-m-d H:i:s', $now - 1 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'   => gmdate( 'Y-m-d H:i:s', $now - 1 ),
</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">                $p2  = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author' => $u,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'   => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'   => gmdate( 'Y-m-d H:i:s', $now ),
</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">@@ -417,13 +417,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author' => $u1,
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'private',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'   => date( 'Y-m-d H:i:s', $now - 1 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'   => gmdate( 'Y-m-d H:i:s', $now - 1 ),
</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">                $p2  = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author' => $u1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'   => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'   => gmdate( 'Y-m-d H:i:s', $now ),
</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">@@ -454,7 +454,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $p1  = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author' => $u1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'   => date( 'Y-m-d H:i:s', $now - 2 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'   => gmdate( 'Y-m-d H:i:s', $now - 2 ),
</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">                $p2  = self::factory()->post->create(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -461,13 +461,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author' => $u1,
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status' => 'private',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'   => date( 'Y-m-d H:i:s', $now - 1 ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'   => gmdate( 'Y-m-d H:i:s', $now - 1 ),
</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">                $p3  = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                        array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author' => $u1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'   => date( 'Y-m-d H:i:s', $now ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'   => gmdate( 'Y-m-d H:i:s', $now ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         )
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunktestsphpunittestsxmlrpcwpeditPostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/xmlrpc/wp/editPost.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/xmlrpc/wp/editPost.php  2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/xmlrpc/wp/editPost.php    2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -274,7 +274,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_content' => 'Not edited',
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_author'  => $editor_id,
</span><span class="cx" style="display: block; padding: 0 10px">                                'post_status'  => 'publish',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                'post_date'    => date( 'Y-m-d H:i:s', $yesterday ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         'post_date'    => gmdate( 'Y-m-d H:i:s', $yesterday ),
</ins><span class="cx" style="display: block; padding: 0 10px">                         )
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunktestsphpunittestsxmlrpcwpgetPostsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/xmlrpc/wp/getPosts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/xmlrpc/wp/getPosts.php  2019-05-25 23:45:19 UTC (rev 45423)
+++ trunk/tests/phpunit/tests/xmlrpc/wp/getPosts.php    2019-05-26 00:11:37 UTC (rev 45424)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -60,7 +60,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $post_ids[] = self::factory()->post->create(
</span><span class="cx" style="display: block; padding: 0 10px">                                array(
</span><span class="cx" style="display: block; padding: 0 10px">                                        'post_type' => $cpt_name,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        'post_date' => date( 'Y-m-d H:i:s', time() + $i ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 'post_date' => gmdate( 'Y-m-d H:i:s', time() + $i ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 )
</span><span class="cx" style="display: block; padding: 0 10px">                        );
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span></span></pre>
</div>
</div>

</body>
</html>