<!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>[48104] trunk/src: Docs: Capitalize "ID", when referring to a post ID, term ID, etc.</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/48104">48104</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/48104","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>SergeyBiryukov</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2020-06-20 12:00:07 +0000 (Sat, 20 Jun 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: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.
See <a href="https://core.trac.wordpress.org/ticket/49572">#49572</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcjs_enqueuesadmineditcommentsjs">trunk/src/js/_enqueues/admin/edit-comments.js</a></li>
<li><a href="#trunksrcjs_enqueuesadmininlineeditpostjs">trunk/src/js/_enqueues/admin/inline-edit-post.js</a></li>
<li><a href="#trunksrcjs_enqueuesadmintagsjs">trunk/src/js/_enqueues/admin/tags.js</a></li>
<li><a href="#trunksrcjs_enqueueslibimageeditjs">trunk/src/js/_enqueues/lib/image-edit.js</a></li>
<li><a href="#trunksrcjs_enqueueswpapijs">trunk/src/js/_enqueues/wp/api.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizepreviewwidgetsjs">trunk/src/js/_enqueues/wp/customize/preview-widgets.js</a></li>
<li><a href="#trunksrcwpadminincludesclasswplisttablephp">trunk/src/wp-admin/includes/class-wp-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesdeprecatedphp">trunk/src/wp-admin/includes/deprecated.php</a></li>
<li><a href="#trunksrcwpadminincludeslisttablephp">trunk/src/wp-admin/includes/list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesmediaphp">trunk/src/wp-admin/includes/media.php</a></li>
<li><a href="#trunksrcwpadminincludesuserphp">trunk/src/wp-admin/includes/user.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenincfeaturedcontentphp">trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeeninctemplatetagsphp">trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php</a></li>
<li><a href="#trunksrcwpincludesbookmarktemplatephp">trunk/src/wp-includes/bookmark-template.php</a></li>
<li><a href="#trunksrcwpincludesbookmarkphp">trunk/src/wp-includes/bookmark.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="#trunksrcwpincludesclasswpcustomizemanagerphp">trunk/src/wp-includes/class-wp-customize-manager.php</a></li>
<li><a href="#trunksrcwpincludesclasswpnetworkqueryphp">trunk/src/wp-includes/class-wp-network-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpobjectcachephp">trunk/src/wp-includes/class-wp-object-cache.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="#trunksrcwpincludesclasswpxmlrpcserverphp">trunk/src/wp-includes/class-wp-xmlrpc-server.php</a></li>
<li><a href="#trunksrcwpincludescommenttemplatephp">trunk/src/wp-includes/comment-template.php</a></li>
<li><a href="#trunksrcwpincludescommentphp">trunk/src/wp-includes/comment.php</a></li>
<li><a href="#trunksrcwpincludesdeprecatedphp">trunk/src/wp-includes/deprecated.php</a></li>
<li><a href="#trunksrcwpincludesfunctionsphp">trunk/src/wp-includes/functions.php</a></li>
<li><a href="#trunksrcwpincludesksesphp">trunk/src/wp-includes/kses.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="#trunksrcwpincludesmsfunctionsphp">trunk/src/wp-includes/ms-functions.php</a></li>
<li><a href="#trunksrcwpincludesmsnetworkphp">trunk/src/wp-includes/ms-network.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="#trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php</a></li>
<li><a href="#trunksrcwpincludessitemapsprovidersclasswpsitemapspostsphp">trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php</a></li>
<li><a href="#trunksrcwpincludestaxonomyphp">trunk/src/wp-includes/taxonomy.php</a></li>
<li><a href="#trunksrcwpincludesthemephp">trunk/src/wp-includes/theme.php</a></li>
<li><a href="#trunksrcwpincludeswidgetsphp">trunk/src/wp-includes/widgets.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcjs_enqueuesadmineditcommentsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/edit-comments.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/edit-comments.js 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/js/_enqueues/admin/edit-comments.js 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -939,8 +939,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof commentReply
</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 {number} comment_id The comment id to open an editor for.
- * @param {number} post_id The post id to open an editor for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} comment_id The comment ID to open an editor for.
+ * @param {number} post_id The post ID to open an editor for.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} action The action to perform. Either 'edit' or 'replyto'.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Always false.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1186,7 +1186,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof commentReply
</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 {number} post_id The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} post_id The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadmininlineeditpostjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/inline-edit-post.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/inline-edit-post.js 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/js/_enqueues/admin/inline-edit-post.js 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,7 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @type {Object}
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @property {string} type The type of inline editor.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @property {string} what The prefix before the post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @property {string} what The prefix before the post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( $, wp ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -249,7 +249,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof inlineEditPost
</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 {number|Object} id The id of the clicked post or an element within a post
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number|Object} id The ID of the clicked post or an element within a post
</ins><span class="cx" style="display: block; padding: 0 10px"> * table row.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Always returns false at the end of execution.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -389,7 +389,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {int} id The id for the post that has been changed.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {int} id The ID for the post that has been changed.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} False, so the form does not submit when pressing
</span><span class="cx" style="display: block; padding: 0 10px"> * Enter on a focused field.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -496,7 +496,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">- * Gets the id for a the post that you want to quick edit from the row in the quick
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Gets the ID for a the post that you want to quick edit from the row in the quick
</ins><span class="cx" style="display: block; padding: 0 10px"> * edit table.
</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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -503,8 +503,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof inlineEditPost
</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 {Object} o DOM row object to get the id for.
- * @return {string} The post id extracted from the table row in the object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} o DOM row object to get the ID for.
+ * @return {string} The post ID extracted from the table row in the object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getId : function(o) {
</span><span class="cx" style="display: block; padding: 0 10px"> var id = $(o).closest('tr').attr('id'),
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadmintagsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/tags.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/tags.js 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/js/_enqueues/admin/tags.js 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -47,8 +47,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Removes the term from the parent box and the tag cloud.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * `data.match(/tag_ID=(\d+)/)[1]` matches the term id from the data variable.
- * This term id is then used to select the relevant HTML elements:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * `data.match(/tag_ID=(\d+)/)[1]` matches the term ID from the data variable.
+ * This term ID is then used to select the relevant HTML elements:
</ins><span class="cx" style="display: block; padding: 0 10px"> * The parent box and the tag cloud.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $('select#parent option[value="' + data.match(/tag_ID=(\d+)/)[1] + '"]').remove();
</span></span></pre></div>
<a id="trunksrcjs_enqueueslibimageeditjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/lib/image-edit.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/lib/image-edit.js 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/js/_enqueues/lib/image-edit.js 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -101,7 +101,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -145,7 +145,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {number} toggle Is 0 or 1, fades the icon in then 1 and out when 0.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -190,7 +190,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {string} The value from the imagedit-save-target input field when available,
</span><span class="cx" style="display: block; padding: 0 10px"> * or 'full' when not available.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -208,7 +208,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The current post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The current post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {number} x Is 0 when it applies the y-axis
</span><span class="cx" style="display: block; padding: 0 10px"> * and 1 when applicable for the x-axis.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} el Element.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -245,7 +245,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {string} The aspect ratio.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -273,7 +273,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {number} setSize 0 or 1, when 1 the image resets to its original size.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {string} JSON string containing the history or an empty string if no history exists.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -339,7 +339,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce to verify the request.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {function} callback Function to execute when the image is loaded.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -413,7 +413,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce to verify the request.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} action The action to perform on the image.
</span><span class="cx" style="display: block; padding: 0 10px"> * The possible actions are: "scale" and "restore".
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -481,7 +481,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id to get the image from the database.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID to get the image from the database.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce to verify the request.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean|void} If the actions are successfully saved a response message is shown.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -547,7 +547,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id for the image.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID for the image.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce to verify the request.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {object} view The image editor view to be used for the editing.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -605,7 +605,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -632,7 +632,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} image The preview image.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} parent The preview image container.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -740,7 +740,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {object} c The selection.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -772,7 +772,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {bool} warn Warning message.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void|bool} Returns false if there is a warning.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -815,7 +815,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Returns true if the history is not saved.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -841,7 +841,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {object} op The original position.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -875,7 +875,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} angle The angle the image is rotated with.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {object} t The target element.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -897,7 +897,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} axis The axle the image is flipped on.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {object} t The target element.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -918,7 +918,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {object} t The target object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -948,7 +948,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void|false} Returns false if the undo button is disabled.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -982,7 +982,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1013,7 +1013,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} el The element containing the values.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void|boolean} Returns false when the x or y value is lower than 1,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1101,7 +1101,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</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 {number} postid The post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {number} n The ratio to set.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} el The element containing the values.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpapijs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/wp/api.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/api.js 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/js/_enqueues/wp/api.js 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -439,7 +439,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> postId = parentModel.get( 'id' );
</span><span class="cx" style="display: block; padding: 0 10px"> embeddeds = parentModel.get( '_embedded' ) || {};
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Verify that we have a valid post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Verify that we have a valid post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( ! _.isNumber( postId ) || 0 === postId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> deferred.reject();
</span><span class="cx" style="display: block; padding: 0 10px"> return deferred;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -640,7 +640,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setTagsWithCollection: function( tags ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Pluck out the category ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Pluck out the category IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> this.set( 'tags', tags.pluck( 'id' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> return this.save();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -725,7 +725,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setCategoriesWithCollection: function( categories ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Pluck out the category ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Pluck out the category IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> this.set( 'categories', categories.pluck( 'id' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> return this.save();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1347,7 +1347,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> modelClassName = mapping.models[ modelClassName ] || modelClassName;
</span><span class="cx" style="display: block; padding: 0 10px"> loadingObjects.models[ modelClassName ] = wp.api.WPApiBaseModel.extend( {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Function that returns a constructed url based on the id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Function that returns a constructed url based on the ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> url: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var url = routeModel.get( 'apiRoot' ) +
</span><span class="cx" style="display: block; padding: 0 10px"> routeModel.get( 'versionString' ) +
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizepreviewwidgetsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/wp/customize/preview-widgets.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/preview-widgets.js 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/js/_enqueues/wp/customize/preview-widgets.js 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -318,7 +318,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @throws {Error} If there's no settingId.
</span><span class="cx" style="display: block; padding: 0 10px"> * @throws {Error} If the setting doesn't exist in the API.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @throws {Error} If the API doesn't pass an array of widget ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @throws {Error} If the API doesn't pass an array of widget IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {Array} A shallow copy of the array containing widget IDs.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswplisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-list-table.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-admin/includes/class-wp-list-table.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1111,7 +1111,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @staticvar int $cb_counter
</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 bool $with_id Whether to set the id attribute or not
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $with_id Whether to set the ID attribute or not
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function print_column_headers( $with_id = true ) {
</span><span class="cx" style="display: block; padding: 0 10px"> list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();
</span></span></pre></div>
<a id="trunksrcwpadminincludesdeprecatedphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/deprecated.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/deprecated.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-admin/includes/deprecated.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1119,7 +1119,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @deprecated 3.5.0 Use image_resize()
</span><span class="cx" style="display: block; padding: 0 10px"> * @see image_resize()
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param mixed $file Filename of the original image, Or attachment id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param mixed $file Filename of the original image, Or attachment ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $max_side Maximum length of a single side for the thumbnail.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param mixed $deprecated Never used.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string Thumbnail path on success, Error string on failure.
</span></span></pre></div>
<a id="trunksrcwpadminincludeslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/list-table.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-admin/includes/list-table.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,7 +84,7 @@
</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="cx" style="display: block; padding: 0 10px"> * @param string|WP_Screen $screen The screen hook name or screen object.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $with_id Whether to set the id attribute or not.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $with_id Whether to set the ID attribute or not.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function print_column_headers( $screen, $with_id = true ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_list_table = new _WP_List_Table_Compat( $screen );
</span></span></pre></div>
<a id="trunksrcwpadminincludesmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/media.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-admin/includes/media.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -119,7 +119,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $id Image attachment id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $id Image attachment ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $caption Image caption.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $title Image title attribute.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $align Image CSS alignment property.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -154,7 +154,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $html The image HTML markup to send.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $id The attachment id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $id The attachment ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $caption The image caption.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $title The image title.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $align The image alignment.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1009,7 +1009,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Store the original attachment source in meta.
</span><span class="cx" style="display: block; padding: 0 10px"> add_post_meta( $id, '_source_url', $file );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If attachment id was requested, return it.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If attachment ID was requested, return it.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( 'id' === $return ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return $id;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpadminincludesuserphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/user.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/user.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-admin/includes/user.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id Optional. User ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return int|WP_Error user id of the updated user.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return int|WP_Error User ID of the updated user.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function edit_user( $user_id = 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_roles = wp_roles();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -214,7 +214,7 @@
</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="cx" style="display: block; padding: 0 10px"> * @param WP_Error $errors WP_Error object (passed by reference).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $update Whether this is a user update.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $update Whether this is a user update.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param stdClass $user User object (passed by reference).
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user ) );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenincfeaturedcontentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -190,7 +190,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</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">- * Delete featured content ids transient.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Delete featured content IDs transient.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Hooks in the "save_post" action.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -233,7 +233,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</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">- // We need to respect post ids already in the blacklist.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // We need to respect post IDs already in the blacklist.
</ins><span class="cx" style="display: block; padding: 0 10px"> $post__not_in = $query->get( 'post__not_in' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $post__not_in ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -508,7 +508,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $output['hide-tag'] = isset( $input['hide-tag'] ) && $input['hide-tag'] ? 1 : 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Delete the featured post ids transient.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Delete the featured post IDs transient.
</ins><span class="cx" style="display: block; padding: 0 10px"> self::delete_transient();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $output;
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeeninctemplatetagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -131,7 +131,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function twentyseventeen_front_page_section( $partial = null, $id = 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_a( $partial, 'WP_Customize_Partial' ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Find out the id and set it up during a selective refresh.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Find out the ID and set it up during a selective refresh.
</ins><span class="cx" style="display: block; padding: 0 10px"> global $twentyseventeencounter;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $id = str_replace( 'panel_', '', $partial->id );
</span></span></pre></div>
<a id="trunksrcwpincludesbookmarktemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/bookmark-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/bookmark-template.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/bookmark-template.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -173,7 +173,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Accepts 'ASC' (ascending) or 'DESC' (descending). Default 'ASC'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $limit Amount of bookmarks to display. Accepts 1+ or -1 for all.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default -1.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string $category Comma-separated list of category ids to include links from.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string $category Comma-separated list of category IDs to include links from.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $category_name Category to retrieve links for by name. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int|bool $hide_invisible Whether to show or hide links marked as 'invisible'. Accepts
</span></span></pre></div>
<a id="trunksrcwpincludesbookmarkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/bookmark.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/bookmark.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/bookmark.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -116,7 +116,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Accepts 'ASC' (ascending) or 'DESC' (descending). Default 'ASC'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int $limit Amount of bookmarks to display. Accepts any positive number or
</span><span class="cx" style="display: block; padding: 0 10px"> * -1 for all. Default -1.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @type string $category Comma-separated list of category ids to include links from.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @type string $category Comma-separated list of category IDs to include links from.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $category_name Category to retrieve links for by name. Default empty.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type int|bool $hide_invisible Whether to show or hide links marked as 'invisible'. Accepts
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -321,13 +321,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Sanitizes all bookmark fields
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Sanitizes all bookmark fields.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param stdClass|array $bookmark Bookmark row
- * @param string $context Optional, default is 'display'. How to filter the
- * fields
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param stdClass|array $bookmark Bookmark row.
+ * @param string $context Optional. How to filter the fields. Default 'display'.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return stdClass|array Same type as $bookmark but with fields sanitized.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function sanitize_bookmark( $bookmark, $context = 'display' ) {
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/category-template.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -37,11 +37,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.8.0 The `$visited` parameter was deprecated and renamed to `$deprecated`.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $id Category ID.
- * @param bool $link Optional, default is false. Whether to format with link.
- * @param string $separator Optional, default is '/'. How to separate categories.
- * @param bool $nicename Optional, default is false. Whether to use nice name for display.
- * @param array $deprecated Not used.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $id Category ID.
+ * @param bool $link Optional. Whether to format with link. Default false.
+ * @param string $separator Optional. How to separate categories. Default '/'.
+ * @param bool $nicename Optional. Whether to use nice name for display. Default false.
+ * @param array $deprecated Not used.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string|WP_Error A list of category parents on success, WP_Error on failure.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_category_parents( $id, $link = false, $separator = '/', $nicename = false, $deprecated = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -64,7 +64,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Retrieves post categories.
</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 tag may be used outside The Loop by passing a post id as the parameter.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * This tag may be used outside The Loop by passing a post ID as the parameter.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Note: This function only returns results from the default "category" taxonomy.
</span><span class="cx" style="display: block; padding: 0 10px"> * For custom taxonomies use get_the_terms().
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-comment-query.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -388,7 +388,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The expected return type from this filter depends on the value passed in the request query_vars.
</span><span class="cx" style="display: block; padding: 0 10px"> * When `$this->query_vars['count']` is set, the filter should return the comment count as an int.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * When `'ids' === $this->query_vars['fields']`, the filter should return an array of comment ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * When `'ids' === $this->query_vars['fields']`, the filter should return an array of comment IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Otherwise the filter should return an array of WP_Comment objects.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.0
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -550,7 +550,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $unapproved_ids = array();
</span><span class="cx" style="display: block; padding: 0 10px"> $unapproved_emails = array();
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $include_unapproved as $unapproved_identifier ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Numeric values are assumed to be user ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Numeric values are assumed to be user IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( is_numeric( $unapproved_identifier ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $approved_clauses[] = $wpdb->prepare( "( user_id = %d AND comment_approved = '0' )", $unapproved_identifier );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizemanagerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-manager.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-manager.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-customize-manager.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1077,7 +1077,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">- * Get the changeset post id for the loaded changeset.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Get the changeset post ID for the loaded changeset.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3210,8 +3210,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $changeset_post_id Changeset post id.
- * @param bool $take_over Take over the changeset, default is false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $changeset_post_id Changeset post ID.
+ * @param bool $take_over Whether to take over the changeset. Default false.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function set_changeset_lock( $changeset_post_id, $take_over = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $changeset_post_id ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3235,7 +3235,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $changeset_post_id Changeset post id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $changeset_post_id Changeset post ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function refresh_changeset_lock( $changeset_post_id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $changeset_post_id ) {
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-network-query.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -169,7 +169,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $query Array or URL query string of parameters.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array|int List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids',
</ins><span class="cx" style="display: block; padding: 0 10px"> * or the number of networks when 'count' is passed as a query var.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function query( $query ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -182,7 +182,7 @@
</span><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"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array|int List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids',
</ins><span class="cx" style="display: block; padding: 0 10px"> * or the number of networks when 'count' is passed as a query var.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function get_networks() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -206,7 +206,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The expected return type from this filter depends on the value passed in the request query_vars.
</span><span class="cx" style="display: block; padding: 0 10px"> * When `$this->query_vars['count']` is set, the filter should return the network count as an int.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * When `'ids' === $this->query_vars['fields']`, the filter should return an array of network ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * When `'ids' === $this->query_vars['fields']`, the filter should return an array of network IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Otherwise the filter should return an array of WP_Network objects.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpobjectcachephp"></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-object-cache.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-object-cache.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-object-cache.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -414,7 +414,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Sets the data contents into the cache.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The cache contents are grouped by the $group parameter followed by the
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * $key. This allows for duplicate ids in unique groups. Therefore, naming of
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * $key. This allows for duplicate IDs in unique groups. Therefore, naming of
</ins><span class="cx" style="display: block; padding: 0 10px"> * the group should be used with care and should follow normal function
</span><span class="cx" style="display: block; padding: 0 10px"> * naming guidelines outside of core WordPress usage.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-query.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -718,9 +718,9 @@
</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 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).
</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></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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-site-query.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -245,7 +245,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $query Array or URL query string of parameters.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array|int List of WP_Site objects, a list of site ids when 'fields' is set to 'ids',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array|int List of WP_Site objects, a list of site IDs when 'fields' is set to 'ids',
</ins><span class="cx" style="display: block; padding: 0 10px"> * or the number of sites when 'count' is passed as a query var.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function query( $query ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -261,7 +261,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb WordPress database abstraction object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array|int List of WP_Site objects, a list of site ids when 'fields' is set to 'ids',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array|int List of WP_Site objects, a list of site IDs when 'fields' is set to 'ids',
</ins><span class="cx" style="display: block; padding: 0 10px"> * or the number of sites when 'count' is passed as a query var.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function get_sites() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -297,7 +297,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The expected return type from this filter depends on the value passed in the request query_vars:
</span><span class="cx" style="display: block; padding: 0 10px"> * When `$this->query_vars['count']` is set, the filter should return the site count as an int.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * When `'ids' === $this->query_vars['fields']`, the filter should return an array of site ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * When `'ids' === $this->query_vars['fields']`, the filter should return an array of site IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Otherwise the filter should return an array of WP_Site objects.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-term-query.php 2020-06-20 12:00:07 UTC (rev 48104)
</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 array|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 array|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 array|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></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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-user-query.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> public $query_vars = array();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * List of found user ids
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * List of found user IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @var array
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpxmlrpcserverphp"></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-xmlrpc-server.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-xmlrpc-server.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/class-wp-xmlrpc-server.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1515,7 +1515,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $post_data['terms'] ) && is_array( $post_data['terms'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $taxonomies = array_keys( $post_data['terms'] );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Validating term ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Validating term IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> foreach ( $taxonomies as $taxonomy ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! array_key_exists( $taxonomy, $post_type_taxonomies ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return new IXR_Error( 401, __( 'Sorry, one of the given taxonomies is not supported by the post type.' ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5656,7 +5656,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $postdata = get_post( $post_ID, ARRAY_A );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * If there is no post data for the give post id, stop now and return an error.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * If there is no post data for the give post ID, stop now and return an error.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Otherwise a new post will be created (which was the old behavior).
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $postdata || empty( $postdata['ID'] ) ) {
</span></span></pre></div>
<a id="trunksrcwpincludescommenttemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/comment-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/comment-template.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/comment-template.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -530,7 +530,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string[] $classes An array of comment classes.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $class A comma-separated list of additional classes added to the list.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $comment_id The comment id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $comment_id The comment ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Comment $comment The comment object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int|WP_Post $post_id The post ID or WP_Post object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -657,7 +657,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 the comment id of the current comment.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Retrieves the comment ID of the current comment.
</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"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -679,7 +679,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</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">- * Displays the comment id of the current comment.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Displays the comment ID of the current comment.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 0.71
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1922,7 +1922,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $result .= "<input type='hidden' name='comment_parent' id='comment_parent' value='$replytoid' />\n";
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Filters the returned comment id fields.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Filters the returned comment ID fields.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludescommentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/comment.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/comment.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1394,7 +1394,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb WordPress database abstraction object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int|WP_Comment $comment_id Comment ID or WP_Comment object.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $force_delete Whether to bypass Trash and force deletion. Default is false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $force_delete Whether to bypass Trash and force deletion. Default false.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool True on success, false on failure.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_delete_comment( $comment_id, $force_delete = false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1458,6 +1458,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'wp_set_comment_status', $comment->comment_ID, 'delete' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> wp_transition_comment_status( 'delete', $comment->comment_approved, $comment );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1508,6 +1509,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Comment $comment The trashed comment.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'trashed_comment', $comment->comment_ID, $comment );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1547,6 +1549,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( wp_set_comment_status( $comment, $status ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> delete_comment_meta( $comment->comment_ID, '_wp_trash_meta_time' );
</span><span class="cx" style="display: block; padding: 0 10px"> delete_comment_meta( $comment->comment_ID, '_wp_trash_meta_status' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires immediately after a comment is restored from the Trash.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1557,6 +1560,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Comment $comment The untrashed comment.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'untrashed_comment', $comment->comment_ID, $comment );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1593,6 +1597,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> delete_comment_meta( $comment->comment_ID, '_wp_trash_meta_time' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', $comment->comment_approved );
</span><span class="cx" style="display: block; padding: 0 10px"> add_comment_meta( $comment->comment_ID, '_wp_trash_meta_time', time() );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires immediately after a comment is marked as Spam.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1603,6 +1608,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Comment $comment The comment marked as spam.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'spammed_comment', $comment->comment_ID, $comment );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1642,6 +1648,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( wp_set_comment_status( $comment, $status ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> delete_comment_meta( $comment->comment_ID, '_wp_trash_meta_status' );
</span><span class="cx" style="display: block; padding: 0 10px"> delete_comment_meta( $comment->comment_ID, '_wp_trash_meta_time' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires immediately after a comment is unmarked as Spam.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1652,6 +1659,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Comment $comment The comment unmarked as spam.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'unspammed_comment', $comment->comment_ID, $comment );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1985,7 +1993,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_filter_comment( $commentdata ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $commentdata['user_ID'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Filters the comment author's user id before it is set.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Filters the comment author's user ID before it is set.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * The first time this filter is evaluated, 'user_ID' is checked
</span><span class="cx" style="display: block; padding: 0 10px"> * (for back-compat), followed by the standard 'user_id' value.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2279,7 +2287,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int|WP_Comment $comment_id Comment ID or WP_Comment object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $comment_status New comment status, either 'hold', 'approve', 'spam', or 'trash'.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $wp_error Whether to return a WP_Error object if there is a failure. Default is false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $wp_error Whether to return a WP_Error object if there is a failure. Default false.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool|WP_Error True on success, false or WP_Error on failure.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_set_comment_status( $comment_id, $comment_status, $wp_error = false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2427,6 +2435,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> clean_comment_cache( $comment_ID );
</span><span class="cx" style="display: block; padding: 0 10px"> wp_update_comment_count( $comment_post_ID );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires immediately after a comment is updated in the database.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2439,8 +2448,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $data Comment data.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'edit_comment', $comment_ID, $data );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> $comment = get_comment( $comment_ID );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> wp_transition_comment_status( $comment->comment_approved, $old_status, $comment );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return $rval;
</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="trunksrcwpincludesdeprecatedphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/deprecated.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/deprecated.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/deprecated.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -732,7 +732,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">- * Sets the categories that the post id belongs to.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Sets the categories that the post ID belongs to.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.1
</span><span class="cx" style="display: block; padding: 0 10px"> * @deprecated 2.1.0
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2498,7 +2498,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int|string $term The term to check
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy name to use
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $parent ID of parent term under which to confine the exists search.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return mixed Get the term id or Term Object, if exists.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return mixed Get the term ID or term object, if exists.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function is_term( $term, $taxonomy = '', $parent = 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> _deprecated_function( __FUNCTION__, '3.0.0', 'term_exists()' );
</span></span></pre></div>
<a id="trunksrcwpincludesfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/functions.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/functions.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1003,14 +1003,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see https://www.php.net/manual/en/function.http-build-query.php
</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|object $data An array or object of data. Converted to array.
- * @param string $prefix Optional. Numeric index. If set, start parameter numbering with it.
- * Default null.
- * @param string $sep Optional. Argument separator; defaults to 'arg_separator.output'.
- * Default null.
- * @param string $key Optional. Used to prefix key name. Default empty.
- * @param bool $urlencode Optional. Whether to use urlencode() in the result. Default true.
- *
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array|object $data An array or object of data. Converted to array.
+ * @param string $prefix Optional. Numeric index. If set, start parameter numbering with it.
+ * Default null.
+ * @param string $sep Optional. Argument separator; defaults to 'arg_separator.output'.
+ * Default null.
+ * @param string $key Optional. Used to prefix key name. Default empty.
+ * @param bool $urlencode Optional. Whether to use urlencode() in the result. Default true.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string The query string.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urlencode = true ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4018,7 +4017,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @deprecated 5.3.0 This function is no longer needed as support for PHP 5.2-5.3
</span><span class="cx" style="display: block; padding: 0 10px"> * has been dropped.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @access private
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @access private
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param mixed $data Native representation.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool|int|float|null|string|array Data ready for `json_encode()`.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4411,7 +4410,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $list List of ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array|string $list List of IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return int[] Sanitized array of IDs.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_parse_id_list( $list ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6955,7 +6954,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">- * Get unique ID.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Gets unique ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * This is a PHP implementation of Underscore's uniqueId method. A static variable
</span><span class="cx" style="display: block; padding: 0 10px"> * contains an integer that is incremented with each call. This number is returned
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6975,12 +6974,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Get last changed date for the specified cache group.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Gets last changed date for the specified cache group.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $group Where the cache contents are grouped.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @return string UNIX timestamp with microseconds representing when the group was last changed.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_cache_get_last_changed( $group ) {
</span></span></pre></div>
<a id="trunksrcwpincludesksesphp"></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/kses.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/kses.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/kses.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2370,11 +2370,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $allow_css Whether the CSS in the test string is considered safe.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $css_test_string The css string to test.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $css_test_string The CSS string to test.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $allow_css = apply_filters( 'safecss_filter_attr_allow_css', $allow_css, $css_test_string );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Only add the css part if it passes the regex check.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Only add the CSS part if it passes the regex check.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( $allow_css ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( '' !== $css ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $css .= ';';
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/link-template.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1552,7 +1552,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int|stdClass $link Optional. Bookmark ID. Default is the id of the current bookmark.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int|stdClass $link Optional. Bookmark ID. Default is the ID of the current bookmark.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string|void The edit bookmark link URL.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_edit_bookmark_link( $link = 0 ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3844,10 +3844,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $id Optional. A post or site id. Default is 0, which means the current post or site.
- * @param string $context Optional. Whether the id is a 'site' id, 'post' id, or 'media' id. If 'post',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $id Optional. A post or site ID. Default is 0, which means the current post or site.
+ * @param string $context Optional. Whether the ID is a 'site' id, 'post' id, or 'media' id. If 'post',
</ins><span class="cx" style="display: block; padding: 0 10px"> * the post_type of the post is consulted. If 'query', the current query is consulted
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * to determine the id and context. Default 'post'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * to determine the ID and context. Default 'post'.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $allow_slugs Optional. Whether to allow post slugs in the shortlink. It is up to the plugin how
</span><span class="cx" style="display: block; padding: 0 10px"> * and whether to honor this. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string A shortlink or an empty string if no shortlink exists for the requested resource or if shortlinks
</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 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/media.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4329,7 +4329,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $shortcode_attrs = array();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Specify the post id of the gallery we're viewing if the shortcode doesn't reference another post already.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Specify the post ID of the gallery we're viewing if the shortcode doesn't reference another post already.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $shortcode_attrs['id'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $shortcode[3] .= ' id="' . intval( $post->ID ) . '"';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4502,7 +4502,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">- * Filters an attachment id found by URL.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Filters an attachment ID found by URL.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludesmsfunctionsphp"></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-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/ms-functions.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/ms-functions.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1213,6 +1213,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $meta Signup meta data.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'wpmu_activate_user', $user_id, $password, $meta );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'user_id' => $user_id,
</span><span class="cx" style="display: block; padding: 0 10px"> 'password' => $password,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1251,6 +1252,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array( 'activation_key' => $key )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Fires immediately after a site is activated.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludesmsnetworkphp"></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-network.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/ms-network.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/ms-network.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -57,7 +57,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $args Optional. Array or string of arguments. See WP_Network_Query::parse_query()
</span><span class="cx" style="display: block; padding: 0 10px"> * for information on accepted arguments. Default empty array.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array|int List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids',
</ins><span class="cx" style="display: block; padding: 0 10px"> * or the number of networks when 'count' is passed as a query var.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_networks( $args = array() ) {
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/ms-site.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -240,7 +240,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @deprecated 5.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $site_id The site ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $drop True if site's table should be dropped. Default is false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $drop True if site's table should be dropped. Default false.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action_deprecated( 'delete_blog', array( $old_site->id, true ), '5.1.0' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -282,7 +282,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @deprecated 5.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $site_id The site ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $drop True if site's tables should be dropped. Default is false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $drop True if site's tables should be dropped. Default false.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action_deprecated( 'deleted_blog', array( $old_site->id, true ), '5.1.0' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -330,7 +330,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Adds any sites from the given ids to the cache that do not already exist in cache.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Adds any sites from the given IDs to the cache that do not already exist in cache.
</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 5.1.0 Introduced the `$update_meta_cache` parameter.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -450,7 +450,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type bool $update_site_cache Whether to prime the cache for found sites. Default true.
</span><span class="cx" style="display: block; padding: 0 10px"> * }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return array|int List of WP_Site objects, a list of site ids when 'fields' is set to 'ids',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return array|int List of WP_Site objects, a list of site IDs when 'fields' is set to 'ids',
</ins><span class="cx" style="display: block; padding: 0 10px"> * or the number of sites when 'count' is passed as a query var.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_sites( $args = array() ) {
</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-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/post.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1366,9 +1366,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * will store revisions, and the 'comments' feature dictates whether the
</span><span class="cx" style="display: block; padding: 0 10px"> * comments count will show on the edit screen. A feature can also be
</span><span class="cx" style="display: block; padding: 0 10px"> * specified as an array of arguments to provide additional information
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * about supporting that feature. Example: `array( 'my_feature', array(
- * 'field' => 'value' ) )`. Default is an array containing 'title' and
- * 'editor'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * about supporting that feature.
+ * Example: `array( 'my_feature', array( 'field' => 'value' ) )`.
+ * Default is an array containing 'title' and 'editor'.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @type callable $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
</span><span class="cx" style="display: block; padding: 0 10px"> * edit form. Do remove_meta_box() and add_meta_box() calls in the
</span><span class="cx" style="display: block; padding: 0 10px"> * callback. Default null.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3065,6 +3065,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Post $post Post object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'delete_post', $postid, $post );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> $result = $wpdb->delete( $wpdb->posts, array( 'ID' => $postid ) );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $result ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return false;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3426,7 +3427,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * See WP_Term_Query::__construct() for supported arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array|WP_Error List of categories. If the `$fields` argument passed via `$args` is 'all' or
</span><span class="cx" style="display: block; padding: 0 10px"> * 'all_with_object_id', an array of WP_Term objects will be returned. If `$fields`
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * is 'ids', an array of category ids. If `$fields` is 'names', an array of category names.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * is 'ids', an array of category IDs. If `$fields` is 'names', an array of category names.
</ins><span class="cx" style="display: block; padding: 0 10px"> * WP_Error object if 'category' taxonomy doesn't exist.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_get_post_categories( $post_id = 0, $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7182,7 +7183,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Adds any posts from the given ids to the cache that do not already exist in cache
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Adds any posts from the given IDs to the cache that do not already exist in cache
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -245,7 +245,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $args['post__in'] = $args['post__in'] ? array_intersect( $sticky_posts, $args['post__in'] ) : $sticky_posts;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * If we intersected, but there are no post ids in common,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * If we intersected, but there are no post IDs in common,
</ins><span class="cx" style="display: block; padding: 0 10px"> * WP_Query won't return "no posts" for post__in = array()
</span><span class="cx" style="display: block; padding: 0 10px"> * so we have to fake it a bit.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpincludessitemapsprovidersclasswpsitemapspostsphp"></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/sitemaps/providers/class-wp-sitemaps-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -164,7 +164,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param null|int $max_num_pages The maximum number of pages. Default null.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int|null $max_num_pages The maximum number of pages. Default null.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $post_type Post type name.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $max_num_pages = apply_filters( 'wp_sitemaps_posts_pre_max_num_pages', null, $post_type );
</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 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/taxonomy.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -705,7 +705,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb WordPress database abstraction object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int|array $term_ids Term id or array of term ids of terms that will be used.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int|array $term_ids Term ID or array of term IDs of terms that will be used.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $taxonomies String of taxonomy name or Array of string values of taxonomy names.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array|string $args Change the order of the object_ids, either ASC or DESC.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return WP_Error|array If the taxonomy does not exist, then WP_Error will be returned. On success.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1437,7 +1437,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Check if a term is an ancestor of another term.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * You can use either an id or the term object for both parameters.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * You can use either an ID or the term object for both parameters.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1895,6 +1895,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $tt_id Term taxonomy ID.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'delete_term_taxonomy', $tt_id );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> $wpdb->delete( $wpdb->term_taxonomy, array( 'term_taxonomy_id' => $tt_id ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2432,7 +2433,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb WordPress database abstraction object.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $object_id The object to relate to.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string|int|array $terms A single term slug, single term id, or array of either term slugs or ids.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string|int|array $terms A single term slug, single term ID, or array of either term slugs or IDs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Will replace all existing related terms in this taxonomy. Passing an
</span><span class="cx" style="display: block; padding: 0 10px"> * empty value will remove all related terms.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The context in which to relate the term to the object.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2675,6 +2676,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy Taxonomy slug.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'delete_term_relationships', $object_id, $tt_ids, $taxonomy );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> $deleted = $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->term_relationships WHERE object_id = %d AND term_taxonomy_id IN ($in_tt_ids)", $object_id ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> wp_cache_delete( $object_id, $taxonomy . '_relationships' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2982,6 +2984,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $data = apply_filters( 'wp_update_term_data', $data, $term_id, $taxonomy, $args );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $wpdb->update( $wpdb->terms, $data, compact( 'term_id' ) );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $slug ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $slug = sanitize_title( $name, $term_id );
</span><span class="cx" style="display: block; padding: 0 10px"> $wpdb->update( $wpdb->terms, compact( 'slug' ), compact( 'term_id' ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3237,7 +3240,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">- * Will remove all of the term ids from the cache.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Will remove all of the term IDs from the cache.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3636,7 +3639,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $term_ids[ $term->term_taxonomy_id ] = $term->term_id;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Get the object and term ids and stick them in a lookup table.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Get the object and term IDs and stick them in a lookup table.
</ins><span class="cx" style="display: block; padding: 0 10px"> $tax_obj = get_taxonomy( $taxonomy );
</span><span class="cx" style="display: block; padding: 0 10px"> $object_types = esc_sql( $tax_obj->object_type );
</span><span class="cx" style="display: block; padding: 0 10px"> $results = $wpdb->get_results( "SELECT object_id, term_taxonomy_id FROM $wpdb->term_relationships INNER JOIN $wpdb->posts ON object_id = ID WHERE term_taxonomy_id IN (" . implode( ',', array_keys( $term_ids ) ) . ") AND post_type IN ('" . implode( "', '", $object_types ) . "') AND post_status = 'publish'" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4602,7 +4605,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $parent `term_id` of the parent for the term we're checking.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $term_id The term we're checking.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy of the term we're checking.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @return int The new parent for the term.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_check_term_hierarchy_for_loops( $parent, $term_id, $taxonomy ) {
</span></span></pre></div>
<a id="trunksrcwpincludesthemephp"></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/theme.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/theme.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/theme.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -824,7 +824,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">- * Checks that current theme files 'index.php' and 'style.css' exists.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Checks that the current theme has 'index.php' and 'style.css' files.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Does not initially check the default theme, which is the fallback and should always exist.
</span><span class="cx" style="display: block; padding: 0 10px"> * But if it doesn't exist, it'll fall back to the latest core default theme that does exist.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1454,7 +1454,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $_wp_default_headers
</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 $headers Array of headers keyed by a string id. The ids point to arrays containing 'url', 'thumbnail_url', and 'description' keys.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $headers Array of headers keyed by a string ID. The IDs point to arrays
+ * containing 'url', 'thumbnail_url', and 'description' keys.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function register_default_headers( $headers ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_default_headers;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2844,8 +2845,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @global Custom_Background $custom_background
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $feature
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
- * @return bool Returns true when support is removed, false when the feature was not registered.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return bool True if support was removed, false if the feature was not registered.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _remove_theme_support( $feature ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_theme_features;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2892,6 +2892,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"> unset( $_wp_theme_features[ $feature ] );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3005,7 +3006,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.3.0 Also removes `header_image_data`.
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0 Also removes custom logo theme mods.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $id The attachment id.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $id The attachment ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _delete_attachment_theme_mod( $id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $attachment_image = wp_get_attachment_url( $id );
</span></span></pre></div>
<a id="trunksrcwpincludeswidgetsphp"></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/widgets.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/widgets.php 2020-06-20 11:20:25 UTC (rev 48103)
+++ trunk/src/wp-includes/widgets.php 2020-06-20 12:00:07 UTC (rev 48104)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,7 +42,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_registered_widgets = array();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Stores the registered widget control (options).
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Stores the registered widget controls (options).
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $wp_registered_widget_controls
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.2.0
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -155,7 +155,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Array or string of arguments for building a sidebar.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $id The base string of the unique identifier for each sidebar. If provided, and multiple
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * sidebars are being defined, the id will have "-2" appended, and so on.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * sidebars are being defined, the ID will have "-2" appended, and so on.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Default 'sidebar-' followed by the number the sidebar creation is currently at.
</span><span class="cx" style="display: block; padding: 0 10px"> * @type string $name The name or title for the sidebars displayed in the admin dashboard. If registering
</span><span class="cx" style="display: block; padding: 0 10px"> * more than one sidebar, include '%d' in the string as a placeholder for the uniquely
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -220,7 +220,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @global array $wp_registered_sidebars Stores the new sidebar in this array by sidebar ID.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_registered_sidebars Registered sidebars.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array|string $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Array or string of arguments for the sidebar being registered.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -309,7 +309,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @global array $wp_registered_sidebars Removes the sidebar from this array by sidebar ID.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_registered_sidebars Registered sidebars.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|int $sidebar_id The ID of the sidebar when it was registered.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -655,13 +655,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Display dynamic sidebar.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * By default this displays the default sidebar or 'sidebar-1'. If your theme specifies the 'id' or
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * 'name' parameter for its registered sidebars you can pass an id or name as the $index parameter.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * 'name' parameter for its registered sidebars you can pass an ID or name as the $index parameter.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Otherwise, you can pass in a numerical index to display the sidebar at that index.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $wp_registered_sidebars Registered sidebars.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @global array $wp_registered_widgets
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_registered_widgets Registered widgets.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int|string $index Optional, default is 1. Index, name or ID of dynamic sidebar.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True, if widget sidebar was found and called. False if not found or not called.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -897,7 +897,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @global array $wp_registered_widgets
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_registered_widgets Registered widgets.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @global array $wp_registered_sidebars Registered sidebars.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if using widgets, false otherwise.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1226,7 +1226,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $wp_registered_sidebars Registered sidebars.
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $sidebars_widgets
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @global array $wp_registered_widgets
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_registered_widgets Registered widgets.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|bool $theme_changed Whether the theme was changed as a boolean. A value
</span><span class="cx" style="display: block; padding: 0 10px"> * of 'customize' defers updates for the Customizer.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1676,7 +1676,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $widget_rss RSS widget feed data. Expects unescaped data.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $check_feed Optional, default is true. Whether to check feed for errors.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $check_feed Optional. Whether to check feed for errors. Default true.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_widget_rss_process( $widget_rss, $check_feed = true ) {
</span></span></pre>
</div>
</div>
</body>
</html>