<!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>[53827] trunk/src: Docs: Various corrections and improvements to inline documentation.</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/53827">53827</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/53827","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>2022-08-04 14:50:27 +0000 (Thu, 04 Aug 2022)</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 corrections and improvements to inline documentation.
See <a href="https://core.trac.wordpress.org/ticket/55646">#55646</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminauthorizeapplicationphp">trunk/src/wp-admin/authorize-application.php</a></li>
<li><a href="#trunksrcwpadminedittagsphp">trunk/src/wp-admin/edit-tags.php</a></li>
<li><a href="#trunksrcwpincludescategoryphp">trunk/src/wp-includes/category.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcommentqueryphp">trunk/src/wp-includes/class-wp-comment-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswphttpphp">trunk/src/wp-includes/class-wp-http.php</a></li>
<li><a href="#trunksrcwpincludesclasswpqueryphp">trunk/src/wp-includes/class-wp-query.php</a></li>
<li><a href="#trunksrcwpincludeslinktemplatephp">trunk/src/wp-includes/link-template.php</a></li>
<li><a href="#trunksrcwpincludesmediaphp">trunk/src/wp-includes/media.php</a></li>
<li><a href="#trunksrcwpincludesmetaphp">trunk/src/wp-includes/meta.php</a></li>
<li><a href="#trunksrcwpincludesoptionphp">trunk/src/wp-includes/option.php</a></li>
<li><a href="#trunksrcwpincludespluggablephp">trunk/src/wp-includes/pluggable.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="trunksrcwpadminauthorizeapplicationphp"></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/authorize-application.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/authorize-application.php 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-admin/authorize-application.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -250,8 +250,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The array of request data. All arguments are optional and may be empty.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $app_name The suggested name of the application.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string $success_url The url the user will be redirected to after approving the application.
- * @type string $reject_url The url the user will be redirected to after rejecting the application.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string $success_url The URL the user will be redirected to after approving the application.
+ * @type string $reject_url The URL the user will be redirected to after rejecting the application.
</ins><span class="cx" style="display: block; padding: 0 10px"> * }
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_User $user The user authorizing the application.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpadminedittagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-tags.php 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-admin/edit-tags.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -486,7 +486,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $dropdown_args {
</span><span class="cx" style="display: block; padding: 0 10px"> * An array of taxonomy parent drop-down 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|bool $hide_empty Whether to hide terms not attached to any posts. Default 0|false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int|bool $hide_empty Whether to hide terms not attached to any posts. Default 0.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type bool $hide_if_empty Whether to hide the drop-down if no terms exist. Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $taxonomy The taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $name Value of the name attribute to use for the drop-down select element.
</span></span></pre></div>
<a id="trunksrcwpincludescategoryphp"></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.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/category.php 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/category.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -269,7 +269,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param mixed $value Category value to sanitize.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $cat_id Category ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $context What filter to use, 'raw', 'display', etc.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return mixed Same type as $value after $value has been sanitized.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return mixed Value after $value has been sanitized.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function sanitize_category_field( $field, $value, $cat_id, $context ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return sanitize_term_field( $field, $value, $cat_id, 'category', $context );
</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 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/class-wp-comment-query.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -159,7 +159,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default null.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $fields Comment fields to return. Accepts 'ids' for comment IDs
</span><span class="cx" style="display: block; padding: 0 10px"> * only or empty for all fields. Default empty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int $ID Currently unused.
</del><span class="cx" style="display: block; padding: 0 10px"> * @type array $include_unapproved Array of IDs or email addresses of users whose unapproved
</span><span class="cx" style="display: block; padding: 0 10px"> * comments will be returned by the query regardless of
</span><span class="cx" style="display: block; padding: 0 10px"> * `$status`. Default empty.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -223,7 +222,6 @@
</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__not_in Array of author IDs *not* to retrieve comments 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 $post_ID Currently unused.
</del><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><span class="cx" style="display: block; padding: 0 10px"> * @type int[] $post__in Array of post IDs to include affiliated comments for.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswphttpphp"></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-http.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-http.php 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/class-wp-http.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -687,8 +687,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * then a numbered array is returned as the value of that header-key.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $response {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type int $code The response status code. Default 0.
- * @type string $message The response message. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type int $code The response status code. Default 0.
+ * @type string $message The response message. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * }
</span><span class="cx" style="display: block; padding: 0 10px"> * @type array $newheaders The processed header data as a multidimensional array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type WP_Http_Cookie[] $cookies If the original headers contain the 'Set-Cookie' key,
</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 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/class-wp-query.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -665,7 +665,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * excludes stickies from 'post__in'. Accepts 1|true, 0|false.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $m Combination YearMonth. Accepts any four-digit year and month
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * numbers 1-12. Default empty.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * numbers 01-12. Default empty.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type string|string[] $meta_key Meta key or keys to filter by.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string|string[] $meta_value Meta value or values to filter by.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $meta_compare MySQL operator used for comparing the meta value.
</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 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/link-template.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4016,7 +4016,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters whether to preempt generating a shortlink for the given post.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Returning a truthy value from the filter will effectively short-circuit
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Returning a value other than false from the filter will short-circuit
</ins><span class="cx" style="display: block; padding: 0 10px"> * the shortlink generation process, returning that value instead.
</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></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 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/media.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4535,9 +4535,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @link https://core.trac.wordpress.org/ticket/31071
</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|null $months An array of objects with `month` and `year`
- * properties, or `null` (or any other non-array value)
- * for default behavior.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param stdClass[]|null $months An array of objects with `month` and `year`
+ * properties, or `null` for default behavior.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $months = apply_filters( 'media_library_months_with_files', null );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_array( $months ) ) {
</span></span></pre></div>
<a id="trunksrcwpincludesmetaphp"></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/meta.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/meta.php 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/meta.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1635,7 +1635,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">- * Retrieves a list of registered meta keys for an object type.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Retrieves a list of registered metadata args for an object type, keyed by their meta keys.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.8 The `$object_subtype` parameter was added.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1643,7 +1643,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user',
</span><span class="cx" style="display: block; padding: 0 10px"> * or any other object type with an associated meta table.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $object_subtype Optional. The subtype of the object type.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return string[] List of registered meta keys.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array[] List of registered metadata args, keyed by their meta keys.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_registered_meta_keys( $object_type, $object_subtype = '' ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_meta_keys;
</span></span></pre></div>
<a id="trunksrcwpincludesoptionphp"></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/option.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/option.php 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/option.php 2022-08-04 14:50:27 UTC (rev 53827)
</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"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$option`, refers to the option name.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Returning a truthy value from the filter will effectively short-circuit retrieval
- * and return the passed value instead.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Returning a value other than false from the filter will short-circuit retrieval
+ * and return that value instead.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0 The `$option` parameter was added.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -832,8 +832,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$transient`, refers to the transient name.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Returning a truthy value from the filter will effectively short-circuit retrieval
- * and return the passed value instead.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Returning a value other than false from the filter will short-circuit retrieval
+ * and return that value instead.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0 The `$transient` parameter was added
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1004,6 +1004,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Deletes all expired transients.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Note that this function won't do anything if an external object cache is in use.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * The multi-table delete syntax is used to delete the transient record
</span><span class="cx" style="display: block; padding: 0 10px"> * from table a, and the corresponding transient_timeout record from table b.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1132,9 +1134,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Adds or updates user interface setting.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Both $name and $value can contain only ASCII letters, numbers, hyphens, and underscores.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Both `$name` and `$value` can contain only ASCII letters, numbers, hyphens, and underscores.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * This function has to be used before any output has started as it calls setcookie().
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * This function has to be used before any output has started as it calls `setcookie()`.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1159,7 +1161,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Deleting settings would reset them to the defaults.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * This function has to be used before any output has started as it calls setcookie().
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * This function has to be used before any output has started as it calls `setcookie()`.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1389,8 +1391,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$option`, refers to the option name.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Returning a truthy value from the filter will effectively short-circuit retrieval
- * and return the passed value instead.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Returning a value other than false from the filter will short-circuit retrieval
+ * and return that value instead.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.9.0 As 'pre_site_option_' . $key
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1420,7 +1422,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_array( $notoptions ) && isset( $notoptions[ $option ] ) ) {
</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 a specific default network option.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Filters the value of a specific default network option.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The dynamic portion of the hook name, `$option`, refers to the option name.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludespluggablephp"></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/pluggable.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/pluggable.php 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/pluggable.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -895,6 +895,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Parses a cookie into its components.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @since 4.0.0 The `$token` element was added to the return value.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $cookie Authentication cookie.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $scheme Optional. The cookie scheme to use: 'auth', 'secure_auth', or 'logged_in'.
</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 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-includes/taxonomy.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3105,8 +3105,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $term_id The ID of the term.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy of the term.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $args {
- * Optional. Array or string of arguments for updating a term.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $args {
+ * Optional. Array of arguments for updating a term.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $alias_of Slug of the term to make this term an alias of.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty string. Accepts a term slug.
</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 2022-08-04 14:46:11 UTC (rev 53826)
+++ trunk/src/wp-login.php 2022-08-04 14:50:27 UTC (rev 53827)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -348,6 +348,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters default arguments for the Languages select input on the login screen.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The arguments get passed to the wp_dropdown_languages() function.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @since 5.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args Arguments for the Languages select input on the login screen.
</span></span></pre>
</div>
</div>
</body>
</html>