<!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>[52332] trunk/src: Docs: Various inline documentation corrections and improvements.</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/52332">52332</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/52332","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>johnbillion</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2021-12-07 12:18:50 +0000 (Tue, 07 Dec 2021)</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: Various inline documentation corrections and improvements.
See <a href="https://core.trac.wordpress.org/ticket/53399">#53399</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcjs_enqueuesliblistsjs">trunk/src/js/_enqueues/lib/lists.js</a></li>
<li><a href="#trunksrcwpadminincludesclasswpfilesystembasephp">trunk/src/wp-admin/includes/class-wp-filesystem-base.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="#trunksrcwpadminincludesclasswpfilesystemftpsocketsphp">trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpfilesystemssh2php">trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpmssiteslisttablephp">trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpuserslisttablephp">trunk/src/wp-admin/includes/class-wp-users-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesedittagmessagesphp">trunk/src/wp-admin/includes/edit-tag-messages.php</a></li>
<li><a href="#trunksrcwpadminincludesimagephp">trunk/src/wp-admin/includes/image.php</a></li>
<li><a href="#trunksrcwpadminincludesmediaphp">trunk/src/wp-admin/includes/media.php</a></li>
<li><a href="#trunksrcwpadminincludesmsphp">trunk/src/wp-admin/includes/ms.php</a></li>
<li><a href="#trunksrcwpadminincludespostphp">trunk/src/wp-admin/includes/post.php</a></li>
<li><a href="#trunksrcwpadminincludesrevisionphp">trunk/src/wp-admin/includes/revision.php</a></li>
<li><a href="#trunksrcwpadminnetworkupgradephp">trunk/src/wp-admin/network/upgrade.php</a></li>
<li><a href="#trunksrcwpadminsitehealthphp">trunk/src/wp-admin/site-health.php</a></li>
<li><a href="#trunksrcwpincludesblocktemplateutilsphp">trunk/src/wp-includes/block-template-utils.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcommentqueryphp">trunk/src/wp-includes/class-wp-comment-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizemanagerphp">trunk/src/wp-includes/class-wp-customize-manager.php</a></li>
<li><a href="#trunksrcwpincludesclasswpdatequeryphp">trunk/src/wp-includes/class-wp-date-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpimageeditorphp">trunk/src/wp-includes/class-wp-image-editor.php</a></li>
<li><a href="#trunksrcwpincludesclasswpmetaqueryphp">trunk/src/wp-includes/class-wp-meta-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpqueryphp">trunk/src/wp-includes/class-wp-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswptaxqueryphp">trunk/src/wp-includes/class-wp-tax-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswptermqueryphp">trunk/src/wp-includes/class-wp-term-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpuserqueryphp">trunk/src/wp-includes/class-wp-user-query.php</a></li>
<li><a href="#trunksrcwpincludescommentphp">trunk/src/wp-includes/comment.php</a></li>
<li><a href="#trunksrcwpincludesembedphp">trunk/src/wp-includes/embed.php</a></li>
<li><a href="#trunksrcwpincludesformattingphp">trunk/src/wp-includes/formatting.php</a></li>
<li><a href="#trunksrcwpincludeshttpsdetectionphp">trunk/src/wp-includes/https-detection.php</a></li>
<li><a href="#trunksrcwpincludesl10nphp">trunk/src/wp-includes/l10n.php</a></li>
<li><a href="#trunksrcwpincludesmediaphp">trunk/src/wp-includes/media.php</a></li>
<li><a href="#trunksrcwpincludesnavmenuphp">trunk/src/wp-includes/nav-menu.php</a></li>
<li><a href="#trunksrcwpincludespomoentryphp">trunk/src/wp-includes/pomo/entry.php</a></li>
<li><a href="#trunksrcwpincludesrestapiendpointsclasswprestglobalstylescontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php</a></li>
<li><a href="#trunksrcwpincludesrestapiendpointsclasswpresttemplatescontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php</a></li>
<li><a href="#trunksrcwpincludestaxonomyphp">trunk/src/wp-includes/taxonomy.php</a></li>
<li><a href="#trunksrcwploginphp">trunk/src/wp-login.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcjs_enqueuesliblistsjs"></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/lib/lists.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/lib/lists.js 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/js/_enqueues/lib/lists.js 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -218,7 +218,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Example 1: data-wp-lists="delete:the-comment-list:comment-{comment_ID}:66cc66:unspam=1"
</span><span class="cx" style="display: block; padding: 0 10px"> * Example 2: data-wp-lists="dim:the-comment-list:comment-{comment_ID}:unapproved:e7e7d3:e7e7d3:new=approved"
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Returns an unassociated array with the following data:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Returns an unassociative array with the following data:
</ins><span class="cx" style="display: block; padding: 0 10px"> * data[0] - Data identifier: 'list', 'add', 'delete', or 'dim'.
</span><span class="cx" style="display: block; padding: 0 10px"> * data[1] - ID of the corresponding list. If data[0] is 'list', the type of list ('comment', 'category', etc).
</span><span class="cx" style="display: block; padding: 0 10px"> * data[2] - ID of the parent element of all inputs necessary for the request.
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpfilesystembasephp"></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-base.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-base.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-base.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -838,7 +838,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type mixed $lastmod Last modified month (3 letter) and day (without leading 0).
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $time Last modified time.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $type Type of resource. 'f' for file, 'd' for directory.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type mixed $files If a directory and $recursive is true, contains another array of files.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type mixed $files If a directory and `$recursive` is true, contains another array of files.
</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 dirlist( $path, $include_hidden = true, $recursive = false ) {
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-direct.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -595,7 +595,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type mixed $lastmod Last modified month (3 letter) and day (without leading 0).
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $time Last modified time.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $type Type of resource. 'f' for file, 'd' for directory.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type mixed $files If a directory and $recursive is true, contains another array of files.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type mixed $files If a directory and `$recursive` is true, contains another array of files.
</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 dirlist( $path, $include_hidden = true, $recursive = false ) {
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -703,7 +703,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type mixed $lastmod Last modified month (3 letter) and day (without leading 0).
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $time Last modified time.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $type Type of resource. 'f' for file, 'd' for directory.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type mixed $files If a directory and $recursive is true, contains another array of files.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type mixed $files If a directory and `$recursive` is true, contains another array of files.
</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 dirlist( $path = '.', $include_hidden = true, $recursive = false ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpfilesystemftpsocketsphp"></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-ftpsockets.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-ftpsockets.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -616,7 +616,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type mixed $lastmod Last modified month (3 letter) and day (without leading 0).
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $time Last modified time.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $type Type of resource. 'f' for file, 'd' for directory.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type mixed $files If a directory and $recursive is true, contains another array of files.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type mixed $files If a directory and `$recursive` is true, contains another array of files.
</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 dirlist( $path = '.', $include_hidden = true, $recursive = false ) {
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -745,7 +745,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type mixed $lastmod Last modified month (3 letter) and day (without leading 0).
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $time Last modified time.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $type Type of resource. 'f' for file, 'd' for directory.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type mixed $files If a directory and $recursive is true, contains another array of files.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type mixed $files If a directory and `$recursive` is true, contains another array of files.
</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 dirlist( $path, $include_hidden = true, $recursive = false ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpmssiteslisttablephp"></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-ms-sites-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -635,9 +635,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $site_states An array of site states. Default 'Main',
- * 'Archived', 'Mature', 'Spam', 'Deleted'.
- * @param WP_Site $site The current site object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $site_states An array of site states. Default 'Main',
+ * 'Archived', 'Mature', 'Spam', 'Deleted'.
+ * @param WP_Site $site The current site object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $site_states = apply_filters( 'display_site_states', $site_states, $_site );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpuserslisttablephp"></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-users-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-users-list-table.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/class-wp-users-list-table.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -615,12 +615,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"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Returns an array of user roles for a given user object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Returns an array of translated user role names for a given user object.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_User $user_object The WP_User object.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return string[] An array of user roles.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] An array of user role names keyed by role.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function get_role_list( $user_object ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_roles = wp_roles();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -638,11 +638,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"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Filters the returned array of roles for a user.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Filters the returned array of translated role names for a user.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string[] $role_list An array of user roles.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $role_list An array of translated user role names keyed by role.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param WP_User $user_object A WP_User object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> return apply_filters( 'get_role_list', $role_list, $user_object );
</span></span></pre></div>
<a id="trunksrcwpadminincludesedittagmessagesphp"></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/edit-tag-messages.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/edit-tag-messages.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/edit-tag-messages.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +44,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $messages The messages to be displayed.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array[] $messages Array of arrays of messages to be displayed, keyed by taxonomy name.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $messages = apply_filters( 'term_updated_messages', $messages );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesimagephp"></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/image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/image.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/image.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -75,7 +75,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $attachment_id The image attachment post ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array An array of the image sub-sizes that are currently defined but don't exist for this image.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array[] Associative array of arrays of image sub-size information for
+ * missing image sizes, keyed by image size name.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_get_missing_image_subsizes( $attachment_id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! wp_attachment_is_image( $attachment_id ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -131,9 +132,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $missing_sizes Array with the missing image sub-sizes.
- * @param array $image_meta The image meta data.
- * @param int $attachment_id The image attachment post ID.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array[] $missing_sizes Associative array of arrays of image sub-size information for
+ * missing image sizes, keyed by image size name.
+ * @param array $image_meta The image meta data.
+ * @param int $attachment_id The image attachment post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> return apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -814,7 +816,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $image_types Image types to check for exif data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[] $image_types Array of image types to check for exif data. Each value
+ * is usually one of the `IMAGETYPE_*` constants.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $exif_image_types = apply_filters( 'wp_read_image_metadata_types', array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesmediaphp"></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/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/media.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/media.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -282,7 +282,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $file_id Index of the `$_FILES` array that the file was sent. Required.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $file_id Index of the `$_FILES` array that the file was sent.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $post_id The post ID of a post to attach the media item to. Required, but can
</span><span class="cx" style="display: block; padding: 0 10px"> * be set to 0, creating a media item that has no relationship to a post.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $post_data Optional. Overwrite some of the attachment.
</span></span></pre></div>
<a id="trunksrcwpadminincludesmsphp"></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/ms.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/ms.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/ms.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,8 +12,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $file $_FILES array for a given file.
- * @return array $_FILES array with 'error' key set if file exceeds quota. 'error' is empty otherwise.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $file An element from the `$_FILES` array for a given file.
+ * @return array The `$_FILES` array element with 'error' key set if file exceeds quota. 'error' is empty otherwise.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function check_upload_size( $file ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( get_site_option( 'upload_space_check_disabled' ) ) {
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/post.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1020,7 +1020,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb WordPress database abstraction object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $postid A post ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array of meta data arrays for the given post ID.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array ...$0 {
</span></span></pre></div>
<a id="trunksrcwpadminincludesrevisionphp"></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/revision.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/revision.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/includes/revision.php 2021-12-07 12:18:50 UTC (rev 52332)
</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"> * @param int $compare_from The revision ID to compare from.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $compare_to The revision ID to come to.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array|false Associative array of a post's revisioned fields and their diffs.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Or, false on failure.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Or, false on failure.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $post = get_post( $post );
</span></span></pre></div>
<a id="trunksrcwpadminnetworkupgradephp"></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/network/upgrade.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/network/upgrade.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/network/upgrade.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,7 +108,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since MU (3.0.0)
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|WP_Error $response The upgrade response array or WP_Error on failure.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $response The upgrade response array.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'after_mu_upgrade', $response );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminsitehealthphp"></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/site-health.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/site-health.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-admin/site-health.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,7 +19,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">- * An associated array of extra tabs for the Site Health navigation bar.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * An associative array of extra tabs for the Site Health navigation bar.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Add a custom page to the Site Health screen, based on a tab slug and label.
</span><span class="cx" style="display: block; padding: 0 10px"> * The label you provide will also be used as part of the site title.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $tabs An associated array of tab slugs and their label.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $tabs An associative array of tab labels keyed by their slug.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $tabs = apply_filters( 'site_health_navigation_tabs', $tabs );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpincludesblocktemplateutilsphp"></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/block-template-utils.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-template-utils.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/block-template-utils.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,7 +29,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $theme_stylesheet The stylesheet. Default is to leverage the main theme root.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array Folder names used by block themes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
+ * Folder names used by block themes.
+ *
+ * @type string $wp_template Theme-relative directory name for block templates.
+ * @type string $wp_template_part Theme-relative directory name for block template parts.
+ * }
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_block_theme_folders( $theme_stylesheet = null ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $theme_name = null === $theme_stylesheet ? get_stylesheet() : $theme_stylesheet;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -223,7 +228,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $base_directory The theme's file path.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array $path_list A list of paths to all template part files.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array A list of paths to all template part files.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _get_block_templates_paths( $base_directory ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $path_list = array();
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcommentqueryphp"></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-comment-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-comment-query.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-comment-query.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -231,10 +231,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int[] $post__not_in Array of post IDs to exclude affiliated comments for.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $post_author Post author ID to limit results by. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $post_status Post status or array of post statuses to retrieve
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $post_status Post status or array of post statuses to retrieve
</ins><span class="cx" style="display: block; padding: 0 10px"> * affiliated comments for. Pass 'any' to match any value.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $post_type Post type or array of post types to retrieve affiliated
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $post_type Post type or array of post types to retrieve affiliated
</ins><span class="cx" style="display: block; padding: 0 10px"> * comments for. Pass 'any' to match any value. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $post_name Post name to retrieve affiliated comments for.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -246,7 +246,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * or space/comma-separated list of 'hold' (`comment_status=0`),
</span><span class="cx" style="display: block; padding: 0 10px"> * 'approve' (`comment_status=1`), 'all', or a custom
</span><span class="cx" style="display: block; padding: 0 10px"> * comment status. Default 'all'.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $type Include comments of a given type, or array of types.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $type Include comments of a given type, or array of types.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Accepts 'comment', 'pings' (includes 'pingback' and
</span><span class="cx" style="display: block; padding: 0 10px"> * 'trackback'), or any custom type string. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string[] $type__in Include comments from a given array of comment types.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizemanagerphp"></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-customize-manager.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-manager.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-customize-manager.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -161,7 +161,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Mapping of 'panel', 'section', 'control' to the ID which should be autofocused.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @var array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @var string[]
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected $autofocus = array();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4720,7 +4720,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Mapping of 'panel', 'section', 'control' to the ID which should be autofocused.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $control ID for control to be autofocused.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpdatequeryphp"></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-date-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-date-query.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-date-query.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -569,7 +569,7 @@
</span><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"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -679,7 +679,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $query Date query arguments.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -697,7 +697,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $query Date query clause.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $parent_query Parent query of the current date query.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpimageeditorphp"></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-image-editor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-image-editor.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-image-editor.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -175,7 +175,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return int[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Dimensions of the image.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $width The image width.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpmetaqueryphp"></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-meta-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-meta-query.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-meta-query.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -401,7 +401,7 @@
</span><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"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</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"> * @param array $query Query to parse (passed by reference).
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $depth Optional. Number of tree levels deep we currently are.
</span><span class="cx" style="display: block; padding: 0 10px"> * Used to calculate indentation. Default 0.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to a single query array.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</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"> * @param array $parent_query Parent query array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $clause_key Optional. The array key used to name the clause in the original `$meta_query`
</span><span class="cx" style="display: block; padding: 0 10px"> * parameters. If not provided, a key will be generated automatically.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to a first-order query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpqueryphp"></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-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-query.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-query.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -728,9 +728,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * top-level pages.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int[] $post_parent__in An array containing parent page IDs to query child pages from.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int[] $post_parent__not_in An array containing parent page IDs not to query child pages from.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $post_type A post type slug (string) or array of post type slugs.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $post_type A post type slug (string) or array of post type slugs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default 'any' if using 'tax_query'.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $post_status A post status (string) or array of post statuses.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $post_status A post status (string) or array of post statuses.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type int $posts_per_page The number of posts to query for. Use -1 to request all posts.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $posts_per_archive_page The number of posts to query for by archive page. Overrides
</span><span class="cx" style="display: block; padding: 0 10px"> * 'posts_per_page' when is_archive(), or is_search() are true.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2830,7 +2830,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string[] $clauses Associative array of the clauses for the query.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $clauses {
+ * Associative array of the clauses for the query.
+ *
+ * @type string $where The WHERE clause of the query.
+ * @type string $groupby The GROUP BY clause of the query.
+ * @type string $join The JOIN clause of the query.
+ * @type string $orderby The ORDER BY clause of the query.
+ * @type string $distinct The DISTINCT clause of the query.
+ * @type string $fields The SELECT clause of the query.
+ * @type string $limits The LIMIT clause of the query.
+ * }
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Query $query The WP_Query instance (passed by reference).
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $pieces ), &$this ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2954,7 +2964,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string[] $pieces Associative array of the pieces of the query.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $pieces {
+ * Associative array of the clauses for the query.
+ *
+ * @type string $where The WHERE clause of the query.
+ * @type string $groupby The GROUP BY clause of the query.
+ * @type string $join The JOIN clause of the query.
+ * @type string $orderby The ORDER BY clause of the query.
+ * @type string $distinct The DISTINCT clause of the query.
+ * @type string $fields The SELECT clause of the query.
+ * @type string $limits The LIMIT clause of the query.
+ * }
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Query $query The WP_Query instance (passed by reference).
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) );
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-tax-query.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -236,7 +236,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $primary_table Database table where the object being filtered is stored (eg wp_users).
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $primary_id_column ID column for the filtered object in $primary_table.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -258,7 +258,7 @@
</span><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"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -291,7 +291,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $query Query to parse (passed by reference).
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $depth Optional. Number of tree levels deep we currently are.
</span><span class="cx" style="display: block; padding: 0 10px"> * Used to calculate indentation. Default 0.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to a single query array.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</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"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $clause Query clause (passed by reference).
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $parent_query Parent query array.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to a first-order query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $join SQL fragment to append to the main JOIN clause.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswptermqueryphp"></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-term-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-term-query.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-term-query.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -94,8 +94,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $query {
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Array or query string of term query parameters. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $taxonomy Taxonomy name, or array of taxonomies, to which results should
- * be limited.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $taxonomy Taxonomy name, or array of taxonomy names, to which results
+ * should be limited.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type int|int[] $object_ids Object ID, or array of object IDs. Results will be
</span><span class="cx" style="display: block; padding: 0 10px"> * limited to terms associated with these objects.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $orderby Field(s) to order terms by. Accepts:
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -148,9 +148,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default 'all'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $count Whether to return a term count. If true, will take precedence
</span><span class="cx" style="display: block; padding: 0 10px"> * over `$fields`. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $name Name or array of names to return term(s) for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $name Name or array of names to return term(s) for.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $slug Slug or array of slugs to return term(s) for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $slug Slug or array of slugs to return term(s) for.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int|int[] $term_taxonomy_id Term taxonomy ID, or array of term taxonomy IDs,
</span><span class="cx" style="display: block; padding: 0 10px"> * to match when querying terms.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpuserqueryphp"></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-user-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-user-query.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/class-wp-user-query.php 2021-12-07 12:18:50 UTC (rev 52332)
</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"> * Optional. Array or string of Query parameters.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $blog_id The site ID. Default is the current site.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $role An array or a comma-separated list of role names that users must match
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $role An array or a comma-separated list of role names that users must match
</ins><span class="cx" style="display: block; padding: 0 10px"> * to be included in results. Note that this is an inclusive list: users
</span><span class="cx" style="display: block; padding: 0 10px"> * must match *each* role. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string[] $role__in An array of role names. Matched users must have at least one of these
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -221,7 +221,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $count_total Whether to count the total number of users found. If pagination
</span><span class="cx" style="display: block; padding: 0 10px"> * is not needed, setting this to false can improve performance.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default true.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $fields Which fields to return. Single or all fields (string), or array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|string[] $fields Which fields to return. Single or all fields (string), or array
</ins><span class="cx" style="display: block; padding: 0 10px"> * of fields. Accepts:
</span><span class="cx" style="display: block; padding: 0 10px"> * - 'ID'
</span><span class="cx" style="display: block; padding: 0 10px"> * - 'display_name'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -235,7 +235,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default 'all'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $who Type of users to query. Accepts 'authors'.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty (all users).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type bool|array $has_published_posts Pass an array of post types to filter results to users who have
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type bool|string[] $has_published_posts Pass an array of post types to filter results to users who have
</ins><span class="cx" style="display: block; padding: 0 10px"> * published posts in those post types. `true` is an alias for all
</span><span class="cx" style="display: block; padding: 0 10px"> * public post types.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $nicename The user nicename. Default empty.
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/comment.php 2021-12-07 12:18:50 UTC (rev 52332)
</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"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $post_id Optional. Restrict the comment counts to the given post. Default 0, which indicates that
</span><span class="cx" style="display: block; padding: 0 10px"> * comment counts for the whole site will be retrieved.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return int[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * The number of comments keyed by their status.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $approved The number of approved comments.
</span></span></pre></div>
<a id="trunksrcwpincludesembedphp"></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/embed.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/embed.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/embed.php 2021-12-07 12:18:50 UTC (rev 52332)
</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"> * @global int $content_width
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $url Optional. The URL that should be embedded. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return int[] {
</ins><span class="cx" style="display: block; padding: 0 10px"> * Indexed array of the embed width and height in pixels.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $0 The embed width.
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/formatting.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2761,7 +2761,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">- * Adds slashes to escape strings.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Adds slashes to a string or recursively adds slashes to strings within an array.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Slashes will first be removed if magic_quotes_gpc is set, see {@link
</span><span class="cx" style="display: block; padding: 0 10px"> * https://www.php.net/magic_quotes} for more details.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2768,8 +2768,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 0.71
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $gpc The string returned from HTTP request data.
- * @return string Returns a string escaped with slashes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string|array $gpc String or array of data to slash.
+ * @return string|array Slashed `$gpc`.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function addslashes_gpc( $gpc ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return wp_slash( $gpc );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5592,7 +5592,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.5.0 Non-string values are left untouched.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $value String or array of data to slash.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return string|array Slashed $value.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string|array Slashed `$value`.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_slash( $value ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_array( $value ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5615,7 +5615,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $value String or array of data to unslash.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return string|array Unslashed $value.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string|array Unslashed `$value`.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_unslash( $value ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return stripslashes_deep( $value );
</span></span></pre></div>
<a id="trunksrcwpincludeshttpsdetectionphp"></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/https-detection.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/https-detection.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/https-detection.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -179,7 +179,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $request The Cron request arguments.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array $request The filtered Cron request arguments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array The filtered Cron request arguments.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_cron_conditionally_prevent_sslverify( $request ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'https' === wp_parse_url( $request['url'], PHP_URL_SCHEME ) ) {
</span></span></pre></div>
<a id="trunksrcwpincludesl10nphp"></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/l10n.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/l10n.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/l10n.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -632,13 +632,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array {
</span><span class="cx" style="display: block; padding: 0 10px"> * Array of translation information for the strings.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string $0 Singular form to be localized. No longer used.
- * @type string $1 Plural form to be localized. No longer used.
- * @type string $2 Context information for the translators. No longer used.
- * @type string $singular Singular form to be localized.
- * @type string $plural Plural form to be localized.
- * @type string $context Context information for the translators.
- * @type string $domain Text domain.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string $0 Singular form to be localized. No longer used.
+ * @type string $1 Plural form to be localized. No longer used.
+ * @type string $2 Context information for the translators. No longer used.
+ * @type string $singular Singular form to be localized.
+ * @type string $plural Plural form to be localized.
+ * @type string $context Context information for the translators.
+ * @type string|null $domain Text domain.
</ins><span class="cx" style="display: block; padding: 0 10px"> * }
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _nx_noop( $singular, $plural, $context, $domain = null ) {
</span></span></pre></div>
<a id="trunksrcwpincludesmediaphp"></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/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/media.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/media.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -882,7 +882,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @uses wp_get_additional_image_sizes()
</span><span class="cx" style="display: block; padding: 0 10px"> * @uses get_intermediate_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">- * @return array Associative array of the registered image sub-sizes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array[] Associative array of arrays of image sub-size information,
+ * keyed by image size name.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_get_registered_image_subsizes() {
</span><span class="cx" style="display: block; padding: 0 10px"> $additional_sizes = wp_get_additional_image_sizes();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5211,20 +5212,19 @@
</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">- * Extracts meta information about a webp file: width, height and type.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Extracts meta information about a WebP file: width, height, and type.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $filename Path to a WebP file.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array $webp_info {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array {
</ins><span class="cx" style="display: block; padding: 0 10px"> * An array of WebP image information.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $size {
- * @type int|false $width Image width on success, false on failure.
- * @type int|false $height Image height on success, false on failure.
- * @type string|false $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'.
- * False on failure.
- * }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|false $width Image width on success, false on failure.
+ * @type int|false $height Image height on success, false on failure.
+ * @type string|false $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'.
+ * False on failure.
+ * }
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_get_webp_info( $filename ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $width = false;
</span></span></pre></div>
<a id="trunksrcwpincludesnavmenuphp"></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/nav-menu.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/nav-menu.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/nav-menu.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -412,9 +412,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.9.0 Added the `$fire_after_hooks` parameter.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $menu_id The ID of the menu. Required. If "0", makes the menu item a draft orphan.
- * @param int $menu_item_db_id The ID of the menu item. If "0", creates a new menu item.
- * @param array $menu_item_data The menu item's data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $menu_id The ID of the menu. If 0, makes the menu item a draft orphan.
+ * @param int $menu_item_db_id The ID of the menu item. If 0, creates a new menu item.
+ * @param array $menu_item_data The menu item's data.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $fire_after_hooks Whether to fire the after insert hooks. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return int|WP_Error The menu item's database ID or WP_Error object on failure.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpincludespomoentryphp"></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/pomo/entry.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/pomo/entry.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/pomo/entry.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,15 +30,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> public $flags = 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">- * @param array $args associative array, support following keys:
- * - singular (string) -- the string to translate, if omitted and empty entry will be created
- * - plural (string) -- the plural form of the string, setting this will set {@link $is_plural} to true
- * - translations (array) -- translations of the string and possibly -- its plural forms
- * - context (string) -- a string differentiating two equal strings used in different contexts
- * - translator_comments (string) -- comments left by translators
- * - extracted_comments (string) -- comments left by developers
- * - references (array) -- places in the code this strings is used, in relative_to_root_path/file.php:linenum form
- * - flags (array) -- flags like php-format
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $args {
+ * Arguments array, supports the following keys:
+ *
+ * @type string $singular The string to translate, if omitted an
+ * empty entry will be created.
+ * @type string $plural The plural form of the string, setting
+ * this will set {@link $is_plural} to true.
+ * @type array $translations Translations of the string and possibly
+ * its plural forms.
+ * @type string $context A string differentiating two equal strings
+ * used in different contexts.
+ * @type string $translator_comments Comments left by translators.
+ * @type string $extracted_comments Comments left by developers.
+ * @type array $references Places in the code this string is used, in
+ * relative_to_root_path/file.php:linenum form.
+ * @type array $flags Flags like php-format.
+ * }
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct( $args = array() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // If no singular -- empty object.
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiendpointsclasswprestglobalstylescontrollerphp"></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-global-styles-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-global-styles-controller.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -229,8 +229,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Post $post Global Styles post object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_REST_Request $request Request object.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @return WP_REST_Response $data
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return WP_REST_Response Response object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function prepare_item_for_response( $post, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
</span><span class="cx" style="display: block; padding: 0 10px"> $raw_config = json_decode( $post->post_content, true );
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiendpointsclasswpresttemplatescontrollerphp"></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-templates-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-templates-controller.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -553,7 +553,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Block_Template $item Template instance.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_REST_Request $request Request object.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return WP_REST_Response $data
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return WP_REST_Response Response object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function prepare_item_for_response( $item, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
</span><span class="cx" style="display: block; padding: 0 10px"> // Restores the more descriptive, specific name for use within this method.
</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 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-includes/taxonomy.php 2021-12-07 12:18:50 UTC (rev 52332)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -823,28 +823,26 @@
</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">- * Retrieve object_ids of valid taxonomy and term.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Retrieve object IDs of valid taxonomy and term.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The strings of $taxonomies must exist before this function will continue.
- * On failure of finding a valid taxonomy, it will return a WP_Error class,
- * kind of like Exceptions in PHP 5, except you can't catch them. Even so,
- * you can still test for the WP_Error class and get the error message.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The strings of `$taxonomies` must exist before this function will continue.
+ * On failure of finding a valid taxonomy, it will return a WP_Error.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The $terms aren't checked the same as $taxonomies, but still need to exist
- * for $object_ids to be returned.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The `$terms` aren't checked the same as `$taxonomies`, but still need to exist
+ * for object IDs to be returned.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * It is possible to change the order that object_ids is returned by either
- * using PHP sort family functions or using the database by using $args with
- * either ASC or DESC array. The value should be in the key named 'order'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * It is possible to change the order that object IDs are returned by using `$args`
+ * with either ASC or DESC array. The value should be in the key named 'order'.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb WordPress database abstraction object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int|array $term_ids Term ID or array of term IDs of terms that will be used.
- * @param string|array $taxonomies String of taxonomy name or Array of string values of taxonomy names.
- * @param array|string $args Change the order of the object_ids, either ASC or DESC.
- * @return array|WP_Error An array of $object_ids on success, WP_Error if the taxonomy does not exist.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int|int[] $term_ids Term ID or array of term IDs of terms that will be used.
+ * @param string|string[] $taxonomies String of taxonomy name or Array of string values of taxonomy names.
+ * @param array|string $args Change the order of the object IDs, either ASC or DESC.
+ * @return string[]|WP_Error An array of object IDs as numeric strings on success,
+ * WP_Error if the taxonomy does not exist.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_objects_in_term( $term_ids, $taxonomies, $args = array() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -899,7 +897,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $tax_query A compact tax query
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $primary_table
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $primary_id_column
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return string[]
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_tax_sql( $tax_query, $primary_table, $primary_id_column ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $tax_query_obj = new WP_Tax_Query( $tax_query );
</span></span></pre></div>
<a id="trunksrcwploginphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-login.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-login.php 2021-12-07 12:10:36 UTC (rev 52331)
+++ trunk/src/wp-login.php 2021-12-07 12:18:50 UTC (rev 52332)
</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"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $shake_error_codes Error codes that shake the login form.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $shake_error_codes Error codes that shake the login form.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $shake_error_codes = apply_filters( 'shake_error_codes', $shake_error_codes );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -185,8 +185,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $classes An array of body classes.
- * @param string $action The action that brought the visitor to the login page.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string[] $classes An array of body classes.
+ * @param string $action The action that brought the visitor to the login page.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $classes = apply_filters( 'login_body_class', $classes, $action );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre>
</div>
</div>
</body>
</html>