<!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>[49672] trunk/src/wp-includes: Docs: Document parameters that accept an array of integers using typed array notation.</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/49672">49672</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/49672","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>2020-11-19 18:22:02 +0000 (Thu, 19 Nov 2020)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Docs: Document parameters that accept an array of integers using typed array notation.
While many of these parameters also technically accept an array of numerical strings, they are all ultimately cast to an array of integers. Documenting them as such assists developers in understanding the expected types.
See <a href="https://core.trac.wordpress.org/ticket/51800">#51800</a>, <a href="https://core.trac.wordpress.org/ticket/41756">#41756</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpincludesauthortemplatephp">trunk/src/wp-includes/author-template.php</a></li>
<li><a href="#trunksrcwpincludescategorytemplatephp">trunk/src/wp-includes/category-template.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcommentqueryphp">trunk/src/wp-includes/class-wp-comment-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpdatequeryphp">trunk/src/wp-includes/class-wp-date-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpnetworkqueryphp">trunk/src/wp-includes/class-wp-network-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpqueryphp">trunk/src/wp-includes/class-wp-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpsitequeryphp">trunk/src/wp-includes/class-wp-site-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="#trunksrcwpincludeslinktemplatephp">trunk/src/wp-includes/link-template.php</a></li>
<li><a href="#trunksrcwpincludesmsdeprecatedphp">trunk/src/wp-includes/ms-deprecated.php</a></li>
<li><a href="#trunksrcwpincludesmssitephp">trunk/src/wp-includes/ms-site.php</a></li>
<li><a href="#trunksrcwpincludespostphp">trunk/src/wp-includes/post.php</a></li>
<li><a href="#trunksrcwpincludesuserphp">trunk/src/wp-includes/user.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpincludesauthortemplatephp"></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/author-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/author-template.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/author-template.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -405,8 +405,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $style If 'list', each author is wrapped in an `<li>` element, otherwise the authors
</span><span class="cx" style="display: block; padding: 0 10px"> * will be separated by commas.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $html Whether to list the items in HTML form or plaintext. Default true.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $exclude Array or comma/space-separated list of author IDs to exclude. Default empty.
- * @type array|string $include Array or comma/space-separated list of author IDs to include. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $exclude Array or comma/space-separated list of author IDs to exclude. Default empty.
+ * @type int[]|string $include Array or comma/space-separated list of author IDs to include. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * }
</span><span class="cx" style="display: block; padding: 0 10px"> * @return void|string Void if 'echo' argument is true, list of authors if 'echo' is false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpincludescategorytemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/category-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/category-template.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/category-template.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -486,16 +486,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Array of optional arguments. See get_categories(), get_terms(), and WP_Term_Query::__construct()
</span><span class="cx" style="display: block; padding: 0 10px"> * for information on additional accepted arguments.
</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 int|array $current_category ID of category, or array of IDs of categories, that should get the
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $current_category ID of category, or array of IDs of categories, that should get the
</ins><span class="cx" style="display: block; padding: 0 10px"> * 'current-cat' class. Default 0.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $depth Category depth. Used for tab indentation. Default 0.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool|int $echo Whether to echo or return the generated markup. Accepts 0, 1, or their
</span><span class="cx" style="display: block; padding: 0 10px"> * bool equivalents. Default 1.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $exclude Array or comma/space-separated string of term IDs to exclude.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $exclude Array or comma/space-separated string of term IDs to exclude.
</ins><span class="cx" style="display: block; padding: 0 10px"> * If `$hierarchical` is true, descendants of `$exclude` terms will also
</span><span class="cx" style="display: block; padding: 0 10px"> * be excluded; see `$exclude_tree`. See get_terms().
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty string.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $exclude_tree Array or comma/space-separated string of term IDs to exclude, along
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $exclude_tree Array or comma/space-separated string of term IDs to exclude, along
</ins><span class="cx" style="display: block; padding: 0 10px"> * with their descendants. See get_terms(). Default empty string.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $feed Text to use for the feed link. Default 'Feed for all posts filed
</span><span class="cx" style="display: block; padding: 0 10px"> * under [cat name]'.
</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 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/class-wp-comment-query.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -147,10 +147,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $author_email Comment author email address. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $author_url Comment author URL. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $author__in Array of author IDs to include comments for. Default empty.
- * @type array $author__not_in Array of author IDs to exclude comments for. Default empty.
- * @type array $comment__in Array of comment IDs to include. Default empty.
- * @type array $comment__not_in Array of comment IDs to exclude. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $author__in Array of author IDs to include comments for. Default empty.
+ * @type int[] $author__not_in Array of author IDs to exclude comments for. Default empty.
+ * @type int[] $comment__in Array of comment IDs to include. Default empty.
+ * @type int[] $comment__not_in Array of comment IDs to exclude. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type bool $count Whether to return a comment count (true) or array of
</span><span class="cx" style="display: block; padding: 0 10px"> * comment objects (false). Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $date_query Date query clauses to limit comments by. See WP_Date_Query.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -195,20 +195,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default: 'DESC'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $parent Parent ID of comment to retrieve children of.
</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 array $parent__in Array of parent IDs of comments to retrieve children for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $parent__in Array of parent IDs of comments to retrieve children 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 array $parent__not_in Array of parent IDs of comments *not* to retrieve
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $parent__not_in Array of parent IDs of comments *not* to retrieve
</ins><span class="cx" style="display: block; padding: 0 10px"> * children for. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $post_author__in Array of author IDs to retrieve comments for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $post_author__in Array of author IDs to retrieve comments 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 array $post_author__not_in Array of author IDs *not* to retrieve comments for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $post_author__not_in Array of author IDs *not* to retrieve comments 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 $post_ID Currently unused.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $post_id Limit results to those affiliated with a given post ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default 0.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $post__in Array of post IDs to include affiliated comments for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $post__in Array of post IDs to include affiliated comments 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 array $post__not_in Array of post IDs to exclude affiliated comments for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $post__not_in Array of post IDs to exclude affiliated comments 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 $post_author Post author ID to limit results by. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string|array $post_status Post status or array of post statuses to retrieve
</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 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/class-wp-date-query.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -115,27 +115,27 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * arrays in some time-related parameters. Default '='.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $inclusive Optional. Include results from dates specified in 'before' or
</span><span class="cx" style="display: block; padding: 0 10px"> * 'after'. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $year Optional. The four-digit year number. Accepts any four-digit year
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $year Optional. The four-digit year number. Accepts any four-digit year
</ins><span class="cx" style="display: block; padding: 0 10px"> * or an array of years if `$compare` supports it. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $month Optional. The two-digit month number. Accepts numbers 1-12 or an
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $month Optional. The two-digit month number. Accepts numbers 1-12 or an
</ins><span class="cx" style="display: block; padding: 0 10px"> * array of valid numbers if `$compare` supports it. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $week Optional. The week number of the year. Accepts numbers 0-53 or an
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $week Optional. The week number of the year. Accepts numbers 0-53 or an
</ins><span class="cx" style="display: block; padding: 0 10px"> * array of valid numbers if `$compare` supports it. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $dayofyear Optional. The day number of the year. Accepts numbers 1-366 or an
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $dayofyear Optional. The day number of the year. Accepts numbers 1-366 or an
</ins><span class="cx" style="display: block; padding: 0 10px"> * array of valid numbers if `$compare` supports it.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $day Optional. The day of the month. Accepts numbers 1-31 or an array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $day Optional. The day of the month. Accepts numbers 1-31 or an array
</ins><span class="cx" style="display: block; padding: 0 10px"> * of valid numbers if `$compare` supports it. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $dayofweek Optional. The day number of the week. Accepts numbers 1-7 (1 is
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $dayofweek Optional. The day number of the week. Accepts numbers 1-7 (1 is
</ins><span class="cx" style="display: block; padding: 0 10px"> * Sunday) or an array of valid numbers if `$compare` supports it.
</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 int|array $dayofweek_iso Optional. The day number of the week (ISO). Accepts numbers 1-7
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $dayofweek_iso Optional. The day number of the week (ISO). Accepts numbers 1-7
</ins><span class="cx" style="display: block; padding: 0 10px"> * (1 is Monday) or an array of valid numbers if `$compare` supports it.
</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 int|array $hour Optional. The hour of the day. Accepts numbers 0-23 or an array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $hour Optional. The hour of the day. Accepts numbers 0-23 or an array
</ins><span class="cx" style="display: block; padding: 0 10px"> * of valid numbers if `$compare` supports it. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $minute Optional. The minute of the hour. Accepts numbers 0-60 or an array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $minute Optional. The minute of the hour. Accepts numbers 0-60 or an array
</ins><span class="cx" style="display: block; padding: 0 10px"> * of valid numbers if `$compare` supports it. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $second Optional. The second of the minute. Accepts numbers 0-60 or an
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $second Optional. The second of the minute. Accepts numbers 0-60 or an
</ins><span class="cx" style="display: block; padding: 0 10px"> * array of valid numbers if `$compare` supports it. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * }
</span><span class="cx" style="display: block; padding: 0 10px"> * }
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpnetworkqueryphp"></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-network-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-network-query.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/class-wp-network-query.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -89,8 +89,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 network 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 array $network__in Array of network IDs to include. Default empty.
- * @type array $network__not_in Array of network IDs to exclude. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $network__in Array of network IDs to include. Default empty.
+ * @type int[] $network__not_in Array of network IDs to exclude. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type bool $count Whether to return a network count (true) or array of network objects.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $fields Network fields to return. Accepts 'ids' (returns an array of network IDs)
</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 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/class-wp-query.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -630,13 +630,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $attachment_id Attachment post ID. Used for 'attachment' post_type.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int|string $author Author ID, or comma-separated list of IDs.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $author_name User 'user_nicename'.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $author__in An array of author IDs to query from.
- * @type array $author__not_in An array of author IDs not to query from.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $author__in An array of author IDs to query from.
+ * @type int[] $author__not_in An array of author IDs not to query from.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type bool $cache_results Whether to cache post information. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int|string $cat Category ID or comma-separated list of IDs (this or any children).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $category__and An array of category IDs (AND in).
- * @type array $category__in An array of category IDs (OR in, no children).
- * @type array $category__not_in An array of category IDs (NOT in).
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $category__and An array of category IDs (AND in).
+ * @type int[] $category__in An array of category IDs (OR in, no children).
+ * @type int[] $category__not_in An array of category IDs (NOT in).
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string $category_name Use category slug (not name, this or any children).
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array|int $comment_count Filter results by comment count. Provide an integer to match
</span><span class="cx" style="display: block; padding: 0 10px"> * comment count exactly. Provide an array with integer 'value'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -696,15 +696,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $pagename Page slug.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $perm Show posts if user has the appropriate capability.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $ping_status Ping status.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $post__in An array of post IDs to retrieve, sticky posts will be included.
- * @type array $post__not_in An array of post IDs not to retrieve. Note: a string of comma-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $post__in An array of post IDs to retrieve, sticky posts will be included.
+ * @type int[] $post__not_in An array of post IDs not to retrieve. Note: a string of comma-
</ins><span class="cx" style="display: block; padding: 0 10px"> * separated IDs will NOT work.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $post_mime_type The mime type of the post. Used for 'attachment' post_type.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $post_name__in An array of post slugs that results must match.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $post_parent Page ID to retrieve child pages for. Use 0 to only retrieve
</span><span class="cx" style="display: block; padding: 0 10px"> * top-level pages.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $post_parent__in An array containing parent page IDs to query child pages from.
- * @type array $post_parent__not_in An array containing parent page IDs not to query child pages from.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $post_parent__in An array containing parent page IDs to query child pages from.
+ * @type int[] $post_parent__not_in An array containing parent page IDs not to query child pages from.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string|array $post_type A post type slug (string) or array of post type slugs.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default 'any' if using 'tax_query'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string|array $post_status A post status (string) or array of post statuses.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -720,15 +720,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $sentence Whether to search by phrase. Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $suppress_filters Whether to suppress filters. Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $tag Tag slug. Comma-separated (either), Plus-separated (all).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $tag__and An array of tag IDs (AND in).
- * @type array $tag__in An array of tag IDs (OR in).
- * @type array $tag__not_in An array of tag IDs (NOT in).
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $tag__and An array of tag IDs (AND in).
+ * @type int[] $tag__in An array of tag IDs (OR in).
+ * @type int[] $tag__not_in An array of tag IDs (NOT in).
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type int $tag_id Tag id or comma-separated list of IDs.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $tag_slug__and An array of tag slugs (AND in).
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $tag_slug__in An array of tag slugs (OR in). unless 'ignore_sticky_posts' is
</span><span class="cx" style="display: block; padding: 0 10px"> * true. Note: a string of comma-separated IDs will NOT work.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $tax_query An associative array of WP_Tax_Query arguments.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * See WP_Tax_Query->queries.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * See WP_Tax_Query->__construct().
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string $title Post title.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $update_post_meta_cache Whether to update the post meta cache. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $update_post_term_cache Whether to update the post term cache. Default true.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpsitequeryphp"></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-site-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-site-query.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/class-wp-site-query.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -114,8 +114,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 site 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 array $site__in Array of site IDs to include. Default empty.
- * @type array $site__not_in Array of site IDs to exclude. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $site__in Array of site IDs to include. Default empty.
+ * @type int[] $site__not_in Array of site IDs to exclude. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type bool $count Whether to return a site count (true) or array of site objects.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $date_query Date query clauses to limit sites by. See WP_Date_Query.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -135,8 +135,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $order How to order retrieved sites. Accepts 'ASC', 'DESC'. Default 'ASC'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $network_id Limit results to those affiliated with a given network ID. If 0,
</span><span class="cx" style="display: block; padding: 0 10px"> * include all networks. Default 0.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $network__in Array of network IDs to include affiliated sites for. Default empty.
- * @type array $network__not_in Array of network IDs to exclude affiliated sites for. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $network__in Array of network IDs to include affiliated sites for. Default empty.
+ * @type int[] $network__not_in Array of network IDs to exclude affiliated sites for. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string $domain Limit results to those affiliated with a given domain. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $domain__in Array of domains to include affiliated sites for. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $domain__not_in Array of domains to exclude affiliated sites for. Default empty.
</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 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/class-wp-term-query.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -94,7 +94,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string|array $taxonomy Taxonomy name, or array of taxonomies, to which results should
</span><span class="cx" style="display: block; padding: 0 10px"> * be limited.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int|array $object_ids Optional. Object ID, or array of object IDs. Results will be
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $object_ids Optional. Object ID, or array of object IDs. Results will be
</ins><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="cx" style="display: block; padding: 0 10px"> * - term fields ('name', 'slug', 'term_group', 'term_id', 'id',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -113,12 +113,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default 'ASC'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool|int $hide_empty Whether to hide terms not assigned to any posts. Accepts
</span><span class="cx" style="display: block; padding: 0 10px"> * 1|true or 0|false. Default 1|true.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $include Array or comma/space-separated string of term IDs to include.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $include Array or comma/space-separated string of term IDs to include.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty array.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $exclude Array or comma/space-separated string of term IDs to exclude.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $exclude Array or comma/space-separated string of term IDs to exclude.
</ins><span class="cx" style="display: block; padding: 0 10px"> * If $include is non-empty, $exclude is ignored.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty array.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $exclude_tree Array or comma/space-separated string of term IDs to exclude
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $exclude_tree Array or comma/space-separated string of term IDs to exclude
</ins><span class="cx" style="display: block; padding: 0 10px"> * along with all of their descendant terms. If $include is
</span><span class="cx" style="display: block; padding: 0 10px"> * non-empty, $exclude_tree is ignored. Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int|string $number Maximum number of terms to return. Accepts ''|0 (all) or any
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -149,7 +149,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string|array $slug Optional. Slug or array of slugs to return term(s) for.
</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 int|array $term_taxonomy_id Optional. Term taxonomy ID, or array of term taxonomy IDs,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $term_taxonomy_id Optional. Term taxonomy ID, or array of term taxonomy IDs,
</ins><span class="cx" style="display: block; padding: 0 10px"> * to match when querying terms.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $hierarchical Whether to include terms that have non-empty descendants
</span><span class="cx" style="display: block; padding: 0 10px"> * (even if $hide_empty is set to true). Default true.
</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 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/class-wp-user-query.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -154,8 +154,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * '>', '>=', '<', '<=', 'LIKE', 'NOT LIKE', 'IN', 'NOT IN',
</span><span class="cx" style="display: block; padding: 0 10px"> * 'BETWEEN', 'NOT BETWEEN', 'EXISTS', 'NOT EXISTS', 'REGEXP',
</span><span class="cx" style="display: block; padding: 0 10px"> * 'NOT REGEXP', or 'RLIKE'. Default '='.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $include An array of user IDs to include. Default empty array.
- * @type array $exclude An array of user IDs to exclude. Default empty array.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $include An array of user IDs to include. Default empty array.
+ * @type int[] $exclude An array of user IDs to exclude. Default empty array.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string $search Search keyword. Searches for possible string matches on columns.
</span><span class="cx" style="display: block; padding: 0 10px"> * When `$search_columns` is left empty, it tries to determine which
</span><span class="cx" style="display: block; padding: 0 10px"> * column to search in based on search string. Default empty.
</span></span></pre></div>
<a id="trunksrcwpincludeslinktemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/link-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/link-template.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/link-template.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1666,7 +1666,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether post should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return null|string|WP_Post Post object if successful. Null if global $post is not set. Empty string if no
</span><span class="cx" style="display: block; padding: 0 10px"> * corresponding post exists.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1681,7 +1681,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether post should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return null|string|WP_Post Post object if successful. Null if global $post is not set. Empty string if no
</span><span class="cx" style="display: block; padding: 0 10px"> * corresponding post exists.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1700,7 +1700,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 bool $in_same_term Optional. Whether post should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $previous Optional. Whether to retrieve previous post. Default true
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return null|string|WP_Post Post object if successful. Null if global $post is not set. Empty string if no
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1894,7 +1894,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $title Optional. Link title format. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $previous Optional. Whether to display link to previous or next post. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string|void The adjacent post relational link URL.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1953,7 +1953,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $title Optional. Link title format. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function adjacent_posts_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1988,7 +1988,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $title Optional. Link title format. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function next_post_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2004,7 +2004,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $title Optional. Link title format. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default true.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default true.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function prev_post_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2021,7 +2021,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether returned post should be in a same taxonomy term.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $start Optional. Whether to retrieve first or last post. Default true
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2085,7 +2085,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $format Optional. Link anchor format. Default '« %link'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $link Optional. Link permalink format. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string The link URL of the previous post in relation to the current post.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2103,7 +2103,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $format Optional. Link anchor format. Default '« %link'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $link Optional. Link permalink format. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function previous_post_link( $format = '« %link', $link = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2118,7 +2118,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $format Optional. Link anchor format. Default '« %link'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $link Optional. Link permalink format. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string The link URL of the next post in relation to the current post.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2136,7 +2136,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $format Optional. Link anchor format. Default '« %link'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $link Optional. Link permalink format. Default '%title'
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function next_post_link( $format = '%link »', $link = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2153,7 +2153,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $format Link anchor format.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $link Link permalink format.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded terms IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded terms IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $previous Optional. Whether to display link to previous or next post. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string The link URL of the previous or next post in relation to the current post.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2218,7 +2218,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $format Link anchor format.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $link Link permalink format.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded category IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded category IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $previous Optional. Whether to display link to previous or next post. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2567,7 +2567,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $prev_text Anchor text to display in the previous post link. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $next_text Anchor text to display in the next post link. Default '%title'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $in_same_term Whether link should be in a same taxonomy term. Default false.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $excluded_terms Array or comma-separated list of excluded term IDs. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $excluded_terms Array or comma-separated list of excluded term IDs. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string $taxonomy Taxonomy, if `$in_same_term` is true. Default 'category'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $screen_reader_text Screen reader text for the nav element. Default 'Post navigation'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $aria_label ARIA label text for the nav element. Default 'Posts'.
</span></span></pre></div>
<a id="trunksrcwpincludesmsdeprecatedphp"></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/ms-deprecated.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/ms-deprecated.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/ms-deprecated.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -464,7 +464,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * Array of default arguments. Optional.
</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 int|array $network_id A network ID or array of network IDs. Set to null to retrieve sites
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|int[] $network_id A network ID or array of network IDs. Set to null to retrieve sites
</ins><span class="cx" style="display: block; padding: 0 10px"> * from all networks. Defaults to current network ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $public Retrieve public or non-public sites. Default null, for any.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $archived Retrieve archived or non-archived sites. Default null, for any.
</span></span></pre></div>
<a id="trunksrcwpincludesmssitephp"></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/ms-site.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/ms-site.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/ms-site.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -413,8 +413,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Array or query string of site 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 array $site__in Array of site IDs to include. Default empty.
- * @type array $site__not_in Array of site IDs to exclude. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $site__in Array of site IDs to include. Default empty.
+ * @type int[] $site__not_in Array of site IDs to exclude. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type bool $count Whether to return a site count (true) or array of site objects.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $date_query Date query clauses to limit sites by. See WP_Date_Query.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -434,8 +434,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $order How to order retrieved sites. Accepts 'ASC', 'DESC'. Default 'ASC'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $network_id Limit results to those affiliated with a given network ID. If 0,
</span><span class="cx" style="display: block; padding: 0 10px"> * include all networks. Default 0.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $network__in Array of network IDs to include affiliated sites for. Default empty.
- * @type array $network__not_in Array of network IDs to exclude affiliated sites for. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $network__in Array of network IDs to include affiliated sites for. Default empty.
+ * @type int[] $network__not_in Array of network IDs to exclude affiliated sites for. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string $domain Limit results to those affiliated with a given domain. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $domain__in Array of domains to include affiliated sites for. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $domain__not_in Array of domains to exclude affiliated sites for. Default empty.
</span></span></pre></div>
<a id="trunksrcwpincludespostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/post.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/post.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2015,13 +2015,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Arguments to retrieve posts. See WP_Query::parse_query() for all
</span><span class="cx" style="display: block; padding: 0 10px"> * available arguments.
</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 int $numberposts Total number of posts to retrieve. Is an alias of $posts_per_page
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int $numberposts Total number of posts to retrieve. Is an alias of `$posts_per_page`
</ins><span class="cx" style="display: block; padding: 0 10px"> * in WP_Query. Accepts -1 for all. Default 5.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int|string $category Category ID or comma-separated list of IDs (this or any children).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Is an alias of $cat in WP_Query. Default 0.
- * @type array $include An array of post IDs to retrieve, sticky posts will be included.
- * Is an alias of $post__in in WP_Query. Default empty array.
- * @type array $exclude An array of post IDs not to retrieve. Default empty array.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Is an alias of `$cat` in WP_Query. Default 0.
+ * @type int[] $include An array of post IDs to retrieve, sticky posts will be included.
+ * Is an alias of `$post__in` in WP_Query. Default empty array.
+ * @type int[] $exclude An array of post IDs not to retrieve. Default empty array.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type bool $suppress_filters Whether to suppress filters. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * }
</span><span class="cx" style="display: block; padding: 0 10px"> * @return WP_Post[]|int[] Array of post objects or post IDs.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3650,7 +3650,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $menu_order The order the post should be displayed in. Default 0.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $post_mime_type The mime type of the post. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $guid Global Unique ID for referencing the post. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array $post_category Array of category IDs.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $post_category Array of category IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Defaults to value of the 'default_category' option.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $tags_input Array of tag names, slugs, or IDs. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $tax_input Array of taxonomy terms keyed by their taxonomy name. Default empty.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4822,7 +4822,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. The Post ID. Does not default to the ID
</span><span class="cx" style="display: block; padding: 0 10px"> * of the global $post. Default 0.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|int $post_categories Optional. List of category IDs, or the ID of a single category.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int[]|int $post_categories Optional. List of category IDs, or the ID of a single category.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $append If true, don't delete existing categories, just add on.
</span><span class="cx" style="display: block; padding: 0 10px"> * If false, replace the categories with the new categories.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5484,8 +5484,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $hierarchical Whether to return pages hierarchically. If false in conjunction with
</span><span class="cx" style="display: block; padding: 0 10px"> * `$child_of` also being false, both arguments will be disregarded.
</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 array $exclude Array of page IDs to exclude. Default empty array.
- * @type array $include Array of page IDs to include. Cannot be used with `$child_of`,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[] $exclude Array of page IDs to exclude. Default empty array.
+ * @type int[] $include Array of page IDs to include. Cannot be used with `$child_of`,
</ins><span class="cx" style="display: block; padding: 0 10px"> * `$parent`, `$exclude`, `$meta_key`, `$meta_value`, or `$hierarchical`.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $meta_key Only include pages with this meta key. Default empty.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5493,7 +5493,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $authors A comma-separated list of author IDs. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $parent Page ID to return direct children of. Default -1, or no restriction.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string|array $exclude_tree Comma-separated string or array of page IDs to exclude.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string|int[] $exclude_tree Comma-separated string or array of page IDs to exclude.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $number The number of pages to return. Default 0, or all pages.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $offset The number of pages to skip before returning. Requires `$number`.
</span></span></pre></div>
<a id="trunksrcwpincludesuserphp"></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/user.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/user.php 2020-11-19 17:52:52 UTC (rev 49671)
+++ trunk/src/wp-includes/user.php 2020-11-19 18:22:02 UTC (rev 49672)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1254,9 +1254,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $order Whether to order users in ascending or descending
</span><span class="cx" style="display: block; padding: 0 10px"> * order. Accepts 'ASC' (ascending) or 'DESC' (descending).
</span><span class="cx" style="display: block; padding: 0 10px"> * Default 'ASC'.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type array|string $include Array or comma-separated list of user IDs to include.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $include Array or comma-separated list of user IDs to include.
</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 array|string $exclude Array or comma-separated list of user IDs to exclude.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int[]|string $exclude Array or comma-separated list of user IDs to exclude.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool|int $multi Whether to skip the ID attribute on the 'select' element.
</span><span class="cx" style="display: block; padding: 0 10px"> * Accepts 1|true or 0|false. Default 0|false.
</span></span></pre>
</div>
</div>
</body>
</html>