<!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>[57239] trunk: Docs: Replace "sanity" with "confidence" for inclusive language.</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/57239">57239</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/57239","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>hellofromTonya</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-01-03 21:57:32 +0000 (Wed, 03 Jan 2024)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Docs: Replace "sanity" with "confidence" for inclusive language.

The phrase "sanity check" unnecessarily references mental health. It's an old phrase used to denote an extra step in verifying code works as expected.

{U+201C}The WordPress open source community cares about diversity. We strive to maintain a welcoming environment where everyone can feel included.{U+201D}

While "sanity check" is a well-known phrase with a specific meaning, "confidence check" is a direct replacement that is more clear of its intent while being more inclusive.

Words matter.

Follow-up to <a href="https://core.trac.wordpress.org/changeset/49216">[49216]</a>, <a href="https://core.trac.wordpress.org/changeset/46271">[46271]</a>, <a href="https://core.trac.wordpress.org/changeset/40583">[40583]</a>, <a href="https://core.trac.wordpress.org/changeset/38832">[38832]</a>, <a href="https://core.trac.wordpress.org/changeset/38637">[38637]</a>, <a href="https://core.trac.wordpress.org/changeset/37409">[37409]</a>, <a href="https://core.trac.wordpress.org/changeset/33359">[33359]</a>, <a href="https://core.trac.wordpress.org/changeset/32162">[32162]</a>, <a href="https://core.trac.wordpress.org/changeset/30346">[30346]</a>, <a href="https://core.trac.wordpress.org/changeset/30345">[30345]</a>, <a href="https://core.trac.wordpress.org/changeset/30238">[30238]</a>, <a href="https://core.trac.wordpress.org/changeset/30055">[30055]</a>, <a href="https://core.trac.wordpress.org/changeset/29902">[29902]</a>, <a href="https://core.trac.wordpress.org/changeset/28763">[287
 63]</a>, <a href="https://core.trac.wordpress.org/changeset/26141">[26141]</a>, <a href="https://core.trac.wordpress.org/changeset/25002">[25002]</a>, <a href="https://core.trac.wordpress.org/changeset/22227">[22227]</a>, <a href="https://core.trac.wordpress.org/changeset/13428">[13428]</a>, <a href="https://core.trac.wordpress.org/changeset/12148">[12148]</a>, <a href="https://core.trac.wordpress.org/changeset/11025">[11025]</a>, <a href="https://core.trac.wordpress.org/changeset/8927">[8927]</a>.

Props dartiss, hellofromTonya.
Fixes <a href="https://core.trac.wordpress.org/ticket/60187">#60187</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcjs_enqueuesadminpostjs">trunk/src/js/_enqueues/admin/post.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendortinymceutilsform_utilsjs">trunk/src/js/_enqueues/vendor/tinymce/utils/form_utils.js</a></li>
<li><a href="#trunksrcjs_enqueueswpthemejs">trunk/src/js/_enqueues/wp/theme.js</a></li>
<li><a href="#trunksrcwpadminincludesclasspclzipphp">trunk/src/wp-admin/includes/class-pclzip.php</a></li>
<li><a href="#trunksrcwpadminincludesclasspluginupgraderphp">trunk/src/wp-admin/includes/class-plugin-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludesclassthemeupgraderphp">trunk/src/wp-admin/includes/class-theme-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludespostphp">trunk/src/wp-admin/includes/post.php</a></li>
<li><a href="#trunksrcwpadminincludesupdatecorephp">trunk/src/wp-admin/includes/update-core.php</a></li>
<li><a href="#trunksrcwpadmininstallphp">trunk/src/wp-admin/install.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyassetsjscustomizecontrolsjs">trunk/src/wp-content/themes/twentytwenty/assets/js/customize-controls.js</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneinctemplatefunctionsphp">trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php</a></li>
<li><a href="#trunksrcwpincludesclasswptaxqueryphp">trunk/src/wp-includes/class-wp-tax-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpdbphp">trunk/src/wp-includes/class-wpdb.php</a></li>
<li><a href="#trunksrcwpincludescronphp">trunk/src/wp-includes/cron.php</a></li>
<li><a href="#trunksrcwpincludesfunctionsphp">trunk/src/wp-includes/functions.php</a></li>
<li><a href="#trunksrcwpincludespostphp">trunk/src/wp-includes/post.php</a></li>
<li><a href="#trunksrcwpincludesshortcodesphp">trunk/src/wp-includes/shortcodes.php</a></li>
<li><a href="#trunksrcwpincludestaxonomyphp">trunk/src/wp-includes/taxonomy.php</a></li>
<li><a href="#trunktestsphpunittestsdbcharsetphp">trunk/tests/phpunit/tests/db/charset.php</a></li>
<li><a href="#trunktestsphpunittestsformattingwpTexturizephp">trunk/tests/phpunit/tests/formatting/wpTexturize.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsphp">trunk/tests/phpunit/tests/functions.php</a></li>
<li><a href="#trunktestsphpunittestspostphp">trunk/tests/phpunit/tests/post.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestuserscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-users-controller.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcjs_enqueuesadminpostjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/post.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/post.js      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/js/_enqueues/admin/post.js        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1173,7 +1173,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">-                 * When the dragging stopped make sure we return focus and do a sanity check on the height.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * When the dragging stopped make sure we return focus and do a confidence check on the height.
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                function endDrag() {
</span><span class="cx" style="display: block; padding: 0 10px">                        var height, toolbarHeight;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1198,7 +1198,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        $document.off( '.wp-editor-resize' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        // Sanity check: normalize height to stay within acceptable ranges.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 // Confidence check: normalize height to stay within acceptable ranges.
</ins><span class="cx" style="display: block; padding: 0 10px">                         if ( height && height > 50 && height < 5000 ) {
</span><span class="cx" style="display: block; padding: 0 10px">                                setUserSetting( 'ed_size', height );
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span></span></pre></div>
<a id="trunksrcjs_enqueuesvendortinymceutilsform_utilsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/tinymce/utils/form_utils.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/tinymce/utils/form_utils.js 2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/js/_enqueues/vendor/tinymce/utils/form_utils.js   2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -199,7 +199,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   if (/^[0-9]+$/.test(size)) {
</span><span class="cx" style="display: block; padding: 0 10px">     size += 'px';
</span><span class="cx" style="display: block; padding: 0 10px">   }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  // Sanity check, IE doesn't like broken values
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  // Confidence check, IE doesn't like broken values
</ins><span class="cx" style="display: block; padding: 0 10px">   else if (!(/^[0-9\.]+(px|%|in|cm|mm|em|ex|pt|pc)$/i.test(size))) {
</span><span class="cx" style="display: block; padding: 0 10px">     return "";
</span><span class="cx" style="display: block; padding: 0 10px">   }
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpthemejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/wp/theme.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/theme.js        2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/js/_enqueues/wp/theme.js  2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1300,7 +1300,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                // Find the next model within the collection.
</span><span class="cx" style="display: block; padding: 0 10px">                nextModel = self.collection.at( self.collection.indexOf( model ) + 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // Sanity check which also serves as a boundary test.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check which also serves as a boundary test.
</ins><span class="cx" style="display: block; padding: 0 10px">                 if ( nextModel !== undefined ) {
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        // We have a new theme...
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasspclzipphp"></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-pclzip.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-pclzip.php      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-admin/includes/class-pclzip.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1854,7 +1854,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">     $p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] = floor($v_memory_limit_int*PCLZIP_TEMPORARY_FILE_RATIO);
</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">-    // ----- Sanity check : No threshold if value lower than 1M
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    // ----- Confidence check : No threshold if value lower than 1M
</ins><span class="cx" style="display: block; padding: 0 10px">     if ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] < 1048576) {
</span><span class="cx" style="display: block; padding: 0 10px">       unset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]);
</span><span class="cx" style="display: block; padding: 0 10px">     }
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasspluginupgraderphp"></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-plugin-upgrader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-plugin-upgrader.php     2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-admin/includes/class-plugin-upgrader.php       2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -472,7 +472,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">                $working_directory = str_replace( $wp_filesystem->wp_content_dir(), trailingslashit( WP_CONTENT_DIR ), $source );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( ! is_dir( $working_directory ) ) { // Sanity check, if the above fails, let's not prevent installation.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( ! is_dir( $working_directory ) ) { // Confidence check, if the above fails, let's not prevent installation.
</ins><span class="cx" style="display: block; padding: 0 10px">                         return $source;
</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="trunksrcwpadminincludesclassthemeupgraderphp"></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-theme-upgrader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-theme-upgrader.php      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-admin/includes/class-theme-upgrader.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -538,7 +538,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Check that the folder contains a valid theme.
</span><span class="cx" style="display: block; padding: 0 10px">                $working_directory = str_replace( $wp_filesystem->wp_content_dir(), trailingslashit( WP_CONTENT_DIR ), $source );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( ! is_dir( $working_directory ) ) { // Sanity check, if the above fails, let's not prevent installation.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( ! is_dir( $working_directory ) ) { // Confidence check, if the above fails, let's not prevent installation.
</ins><span class="cx" style="display: block; padding: 0 10px">                         return $source;
</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="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      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-admin/includes/post.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -452,7 +452,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        $success = wp_update_post( $translated );
</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 the save failed, see if we can sanity check the main fields and try again.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If the save failed, see if we can confidence check the main fields and try again.
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( ! $success && is_callable( array( $wpdb, 'strip_invalid_text_for_column' ) ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $fields = array( 'post_title', 'post_content', 'post_excerpt' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpadminincludesupdatecorephp"></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/update-core.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/update-core.php       2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-admin/includes/update-core.php 2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1093,7 +1093,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        apply_filters( 'update_feedback', __( 'Verifying the unpacked files&#8230;' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        // Sanity check the unzipped distribution.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Confidence check the unzipped distribution.
</ins><span class="cx" style="display: block; padding: 0 10px">         $distro = '';
</span><span class="cx" style="display: block; padding: 0 10px">        $roots  = array( '/wordpress/', '/wordpress-mu/' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpadmininstallphp"></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/install.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/install.php    2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-admin/install.php      2024-01-03 21:57:32 UTC (rev 57239)
</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">  * @subpackage Administration
</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">-// Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( false ) {
</span><span class="cx" style="display: block; padding: 0 10px">        ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <!DOCTYPE html>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyassetsjscustomizecontrolsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwenty/assets/js/customize-controls.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwenty/assets/js/customize-controls.js  2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-content/themes/twentytwenty/assets/js/customize-controls.js    2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -69,7 +69,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                // Get accessible colors for the defined background-color and hue.
</span><span class="cx" style="display: block; padding: 0 10px">                colors = twentyTwentyColor( backgroundColor, accentHue );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">                 if ( colors.getAccentColor() && 'function' === typeof colors.getAccentColor().toCSS ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        // Update the value for this context.
</span><span class="cx" style="display: block; padding: 0 10px">                        value[ context ] = {
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneinctemplatefunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php    2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php      2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -367,7 +367,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        // Loop blocks.
</span><span class="cx" style="display: block; padding: 0 10px">        foreach ( $blocks as $block ) {
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">                 if ( ! isset( $block['blockName'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        continue;
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span></span></pre></div>
<a id="trunksrcwpincludesclasswptaxqueryphp"></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-tax-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-tax-query.php      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-includes/class-wp-tax-query.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -505,7 +505,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        protected function find_compatible_table_alias( $clause, $parent_query ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $alias = false;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // Sanity check. Only IN queries use the JOIN syntax.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check. Only IN queries use the JOIN syntax.
</ins><span class="cx" style="display: block; padding: 0 10px">                 if ( ! isset( $clause['operator'] ) || 'IN' !== $clause['operator'] ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        return $alias;
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpdbphp"></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-wpdb.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wpdb.php      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-includes/class-wpdb.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -154,7 +154,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        protected $result;
</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">-         * Cached column info, for sanity checking data before inserting.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Cached column info, for confidence checking data before inserting.
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 4.2.0
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -172,7 +172,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        protected $table_charset = array();
</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">-         * Whether text fields in the current query need to be sanity checked.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Whether text fields in the current query need to be confidence checked.
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 4.2.0
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1927,7 +1927,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        mysqli_free_result( $this->result );
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->result = null;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        // Sanity check before using the handle.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 // Confidence check before using the handle.
</ins><span class="cx" style="display: block; padding: 0 10px">                         if ( empty( $this->dbh ) || ! ( $this->dbh instanceof mysqli ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                                return;
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3516,7 +3516,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        return false;
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // If any of the columns don't have one of these collations, it needs more sanity checking.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // If any of the columns don't have one of these collations, it needs more confidence checking.
</ins><span class="cx" style="display: block; padding: 0 10px">                 $safe_collations = array(
</span><span class="cx" style="display: block; padding: 0 10px">                        'utf8_bin',
</span><span class="cx" style="display: block; padding: 0 10px">                        'utf8_general_ci',
</span></span></pre></div>
<a id="trunksrcwpincludescronphp"></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/cron.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/cron.php    2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-includes/cron.php      2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -874,7 +874,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                return false;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">         $crons = wp_get_ready_cron_jobs();
</span><span class="cx" style="display: block; padding: 0 10px">        if ( empty( $crons ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return false;
</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       2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-includes/functions.php 2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4284,7 +4284,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">- * Encodes a variable into JSON, with some sanity checks.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Encodes a variable into JSON, with some confidence checks.
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @since 4.1.0
</span><span class="cx" style="display: block; padding: 0 10px">  * @since 5.3.0 No longer handles support for PHP < 5.6.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4300,7 +4300,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_json_encode( $value, $flags = 0, $depth = 512 ) {
</span><span class="cx" style="display: block; padding: 0 10px">        $json = json_encode( $value, $flags, $depth );
</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 json_encode() was successful, no need to do more sanity checking.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If json_encode() was successful, no need to do more confidence checking.
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( false !== $json ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return $json;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4315,7 +4315,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">- * Performs sanity checks on data that shall be encoded to JSON.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Performs confidence checks on data that shall be encoded to JSON.
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @ignore
</span><span class="cx" style="display: block; padding: 0 10px">  * @since 4.1.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    2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-includes/post.php      2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3861,7 +3861,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">        foreach ( $group_by_status as $status => $comments ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // Sanity check. This shouldn't happen.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check. This shouldn't happen.
</ins><span class="cx" style="display: block; padding: 0 10px">                 if ( 'post-trashed' === $status ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        $status = '0';
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span></span></pre></div>
<a id="trunksrcwpincludesshortcodesphp"></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/shortcodes.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/shortcodes.php      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-includes/shortcodes.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -504,7 +504,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                $element = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $element );
</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">-                        // Looks like we found some crazy unfiltered HTML. Skipping it for sanity.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 // Looks like we found some crazy unfiltered HTML. Skipping it for confidence.
</ins><span class="cx" style="display: block; padding: 0 10px">                         $element = strtr( $element, $trans );
</span><span class="cx" style="display: block; padding: 0 10px">                        continue;
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span></span></pre></div>
<a id="trunksrcwpincludestaxonomyphp"></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/taxonomy.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/taxonomy.php        2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/src/wp-includes/taxonomy.php  2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2573,7 +2573,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        $tt_id = (int) $wpdb->insert_id;
</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">-         * Sanity check: if we just created a term with the same parent + taxonomy + slug but a higher term_id than
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Confidence check: if we just created a term with the same parent + taxonomy + slug but a higher term_id than
</ins><span class="cx" style="display: block; padding: 0 10px">          * an existing term, then we have unwittingly created a duplicate term. Delete the dupe, and use the term_id
</span><span class="cx" style="display: block; padding: 0 10px">         * and term_taxonomy_id of the older term instead. Then return out of the function so that the "create" hooks
</span><span class="cx" style="display: block; padding: 0 10px">         * are not fired.
</span></span></pre></div>
<a id="trunktestsphpunittestsdbcharsetphp"></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/db/charset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/db/charset.php  2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/tests/phpunit/tests/db/charset.php    2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1022,7 +1022,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $table_name = 'table_collation_check';
</span><span class="cx" style="display: block; padding: 0 10px">                $data       = array(
</span><span class="cx" style="display: block; padding: 0 10px">                        'utf8_bin'                   => array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                // utf8_bin tables don't need extra sanity checking.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         // utf8_bin tables don't need extra confidence checking.
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'create'   => '( a VARCHAR(50) COLLATE utf8_bin )',
</span><span class="cx" style="display: block; padding: 0 10px">                                'expected' => true,
</span><span class="cx" style="display: block; padding: 0 10px">                        ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1037,13 +1037,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                'expected' => false,
</span><span class="cx" style="display: block; padding: 0 10px">                        ),
</span><span class="cx" style="display: block; padding: 0 10px">                        'utf8_bin + big5_chinese_ci' => array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                // utf8_bin tables don't need extra sanity checking,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         // utf8_bin tables don't need extra confidence checking,
</ins><span class="cx" style="display: block; padding: 0 10px">                                 // except for when they're not just utf8_bin.
</span><span class="cx" style="display: block; padding: 0 10px">                                'create'   => '( a VARCHAR(50) COLLATE utf8_bin, b VARCHAR(50) COLLATE big5_chinese_ci )',
</span><span class="cx" style="display: block; padding: 0 10px">                                'expected' => false,
</span><span class="cx" style="display: block; padding: 0 10px">                        ),
</span><span class="cx" style="display: block; padding: 0 10px">                        'utf8_bin + int'             => array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                // utf8_bin tables don't need extra sanity checking
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         // utf8_bin tables don't need extra confidence checking
</ins><span class="cx" style="display: block; padding: 0 10px">                                 // when the other columns aren't strings.
</span><span class="cx" style="display: block; padding: 0 10px">                                'create'   => '( a VARCHAR(50) COLLATE utf8_bin, b INT )',
</span><span class="cx" style="display: block; padding: 0 10px">                                'expected' => true,
</span></span></pre></div>
<a id="trunktestsphpunittestsformattingwpTexturizephp"></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/formatting/wpTexturize.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/formatting/wpTexturize.php      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/tests/phpunit/tests/formatting/wpTexturize.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1788,7 +1788,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">-         * Extra sanity checks for _wptexturize_pushpop_element()
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Extra confidence checks for _wptexturize_pushpop_element()
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @ticket 28483
</span><span class="cx" style="display: block; padding: 0 10px">         * @dataProvider data_element_stack
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsphp"></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.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions.php   2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/tests/phpunit/tests/functions.php     2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -229,7 +229,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $testdir = DIR_TESTDATA . '/images/';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertSame( 'abcdefg.png', wp_unique_filename( $testdir, 'abcdefg.png' ), 'Test non-existing file, file name should be unchanged.' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Ensure correct images exist.
</span></span></pre></div>
<a id="trunktestsphpunittestspostphp"></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.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/post.php        2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/tests/phpunit/tests/post.php  2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -329,12 +329,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px">                stick_post( $post->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">-                // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertTrue( is_sticky( $post->ID ) );
</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::$grammarian_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">-                // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertFalse( current_user_can( 'publish_posts' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertTrue( current_user_can( 'edit_others_posts' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertTrue( current_user_can( 'edit_published_posts' ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -367,12 +367,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px">                stick_post( $post->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">-                // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertTrue( is_sticky( $post->ID ) );
</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::$grammarian_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">-                // Sanity check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check.
</ins><span class="cx" style="display: block; padding: 0 10px">                 $this->assertFalse( current_user_can( 'publish_posts' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertTrue( current_user_can( 'edit_others_posts' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertTrue( current_user_can( 'edit_published_posts' ) );
</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      2024-01-03 16:20:02 UTC (rev 57238)
+++ trunk/tests/phpunit/tests/rest-api/rest-users-controller.php        2024-01-03 21:57:32 UTC (rev 57239)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2520,7 +2520,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">-                // Sanity check to ensure the factory created the post correctly.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         // Confidence check to ensure the factory created the post correctly.
</ins><span class="cx" style="display: block; padding: 0 10px">                 $post = get_post( $test_post );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEquals( $user_id, $post->post_author );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre>
</div>
</div>

</body>
</html>