<!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>[48110] trunk/src: Docs: Remove extra spaces from `@param` tags.</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/48110">48110</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/48110","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:57:00 +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: Remove extra spaces from `@param` tags.
Per the documentation standards, `@param` tags should be aligned with each other, but not with the `@return` tag.
See <a href="https://core.trac.wordpress.org/ticket/49572">#49572</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcjs_enqueuesadmininlineeditpostjs">trunk/src/js/_enqueues/admin/inline-edit-post.js</a></li>
<li><a href="#trunksrcjs_enqueueslibimageeditjs">trunk/src/js/_enqueues/lib/image-edit.js</a></li>
<li><a href="#trunksrcjs_enqueuesliblistsjs">trunk/src/js/_enqueues/lib/lists.js</a></li>
<li><a href="#trunksrcjs_enqueueslibnavmenujs">trunk/src/js/_enqueues/lib/nav-menu.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorpluploadwppluploadjs">trunk/src/js/_enqueues/vendor/plupload/wp-plupload.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendortinymcepluginswptextpatternpluginjs">trunk/src/js/_enqueues/vendor/tinymce/plugins/wptextpattern/plugin.js</a></li>
<li><a href="#trunksrcjs_enqueueswpapijs">trunk/src/js/_enqueues/wp/api.js</a></li>
<li><a href="#trunksrcjs_enqueueswpbackbonejs">trunk/src/js/_enqueues/wp/backbone.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizebasejs">trunk/src/js/_enqueues/wp/customize/base.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizeloaderjs">trunk/src/js/_enqueues/wp/customize/loader.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizepreviewwidgetsjs">trunk/src/js/_enqueues/wp/customize/preview-widgets.js</a></li>
<li><a href="#trunksrcjs_enqueueswpmediamodelsjs">trunk/src/js/_enqueues/wp/media/models.js</a></li>
<li><a href="#trunksrcjs_enqueueswputiljs">trunk/src/js/_enqueues/wp/util.js</a></li>
<li><a href="#trunksrcjsmediamodelsqueryjs">trunk/src/js/media/models/query.js</a></li>
<li><a href="#trunksrcjsmediaviewsattachmentjs">trunk/src/js/media/views/attachment.js</a></li>
<li><a href="#trunksrcjsmediaviewsframejs">trunk/src/js/media/views/frame.js</a></li>
<li><a href="#trunksrcjsmediaviewsuploadereditorjs">trunk/src/js/media/views/uploader/editor.js</a></li>
<li><a href="#trunksrcwpadminincludesclasscustomimageheaderphp">trunk/src/wp-admin/includes/class-custom-image-header.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpcommunityeventsphp">trunk/src/wp-admin/includes/class-wp-community-events.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpupgraderphp">trunk/src/wp-admin/includes/class-wp-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludesplugininstallphp">trunk/src/wp-admin/includes/plugin-install.php</a></li>
<li><a href="#trunksrcwpincludesclasswpblocktypephp">trunk/src/wp-includes/class-wp-block-type.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizewidgetsphp">trunk/src/wp-includes/class-wp-customize-widgets.php</a></li>
<li><a href="#trunksrcwpincludesclasswpdatequeryphp">trunk/src/wp-includes/class-wp-date-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpimageeditorgdphp">trunk/src/wp-includes/class-wp-image-editor-gd.php</a></li>
<li><a href="#trunksrcwpincludesclasswpimageeditorimagickphp">trunk/src/wp-includes/class-wp-image-editor-imagick.php</a></li>
<li><a href="#trunksrcwpincludesclasswpimageeditorphp">trunk/src/wp-includes/class-wp-image-editor.php</a></li>
<li><a href="#trunksrcwpincludesclasswpmatchesmapregexphp">trunk/src/wp-includes/class-wp-matchesmapregex.php</a></li>
<li><a href="#trunksrcwpincludesclasswpmetaqueryphp">trunk/src/wp-includes/class-wp-meta-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswptaxqueryphp">trunk/src/wp-includes/class-wp-tax-query.php</a></li>
<li><a href="#trunksrcwpincludescommentphp">trunk/src/wp-includes/comment.php</a></li>
<li><a href="#trunksrcwpincludesfunctionsphp">trunk/src/wp-includes/functions.php</a></li>
<li><a href="#trunksrcwpincludesgeneraltemplatephp">trunk/src/wp-includes/general-template.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="#trunksrcwpincludesrestapiphp">trunk/src/wp-includes/rest-api.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<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 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/admin/inline-edit-post.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -389,9 +389,9 @@
</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.
- * @return {boolean} False, so the form does not submit when pressing
- * Enter on a focused field.
</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.
+ * @return {boolean} False, so the form does not submit when pressing
+ * Enter on a focused field.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> save : function(id) {
</span><span class="cx" style="display: block; padding: 0 10px"> var params, fields, page = $('.post_status_page').val() || '';
</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_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 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/lib/image-edit.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -413,10 +413,10 @@
</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.
- * @param {string} nonce The nonce to verify the request.
- * @param {string} action The action to perform on the image.
- * The possible actions are: "scale" and "restore".
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} postid The post ID.
+ * @param {string} nonce The nonce to verify the request.
+ * @param {string} action The action to perform on the image.
+ * The possible actions are: "scale" and "restore".
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean|void} Executes a post request that refreshes the page
</span><span class="cx" style="display: block; padding: 0 10px"> * when the action is performed.
</span></span></pre></div>
<a id="trunksrcjs_enqueuesliblistsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/lib/lists.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/lib/lists.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/lib/lists.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -235,8 +235,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * data[3] - 66cc66
</span><span class="cx" style="display: block; padding: 0 10px"> * data[4] - unspam=1
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {HTMLElement} element The DOM element.
- * @param {string} type The type of data to look for: 'list', 'add', 'delete', or 'dim'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {HTMLElement} element The DOM element.
+ * @param {string} type The type of data to look for: 'list', 'add', 'delete', or 'dim'.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {Array} Extracted list item data.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> parseData: function( element, type ) {
</span></span></pre></div>
<a id="trunksrcjs_enqueueslibnavmenujs"></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/nav-menu.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/lib/nav-menu.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/lib/nav-menu.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -429,7 +429,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Refreshes advanced accessibility buttons for one menu item.
</span><span class="cx" style="display: block; padding: 0 10px"> * Shows or hides buttons based on the location of the menu item.
</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} itemToRefresh The menu item that might need its advanced accessibility buttons refreshed
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {object} itemToRefresh The menu item that might need its advanced accessibility buttons refreshed
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> refreshAdvancedAccessibilityOfItem : function( itemToRefresh ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1292,8 +1292,9 @@
</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"> * Remove a menu item.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} el The element to be removed as a jQuery object.
</del><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {object} el The element to be removed as a jQuery object.
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @fires document#menu-removing-item Passes the element to be removed.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> removeMenuItem : function(el) {
</span></span></pre></div>
<a id="trunksrcjs_enqueuesvendorpluploadwppluploadjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/plupload/wp-plupload.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/plupload/wp-plupload.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/vendor/plupload/wp-plupload.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -115,9 +115,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} message Error message.
- * @param {object} data Error data from Plupload.
- * @param {plupload.File} file File that was uploaded.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} message Error message.
+ * @param {object} data Error data from Plupload.
+ * @param {plupload.File} file File that was uploaded.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> tryAgain = function( message, data, file ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var times, id;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -203,10 +203,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Add a new error to the errors collection, so other modules can track
</span><span class="cx" style="display: block; padding: 0 10px"> * and display errors. @see wp.Uploader.errors.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} message Error message.
- * @param {object} data Error data from Plupload.
- * @param {plupload.File} file File that was uploaded.
- * @param {string} retry Whether to try again to create image sub-sizes. Passing 'no-retry' will prevent it.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} message Error message.
+ * @param {object} data Error data from Plupload.
+ * @param {plupload.File} file File that was uploaded.
+ * @param {string} retry Whether to try again to create image sub-sizes. Passing 'no-retry' will prevent it.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> error = function( message, data, file, retry ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var isImage = file.type && file.type.indexOf( 'image/' ) === 0,
</span></span></pre></div>
<a id="trunksrcjs_enqueuesvendortinymcepluginswptextpatternpluginjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/tinymce/plugins/wptextpattern/plugin.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/tinymce/plugins/wptextpattern/plugin.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/vendor/tinymce/plugins/wptextpattern/plugin.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -52,9 +52,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Escapes characters for use in a Regular Expression.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} string Characters to escape
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {String} string Characters to escape
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {String} Escaped characters
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {String} Escaped characters
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function escapeRegExp( string ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return string.replace( /[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&' );
</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 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/wp/api.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -360,11 +360,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Build a helper function to retrieve related model.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} parentModel The parent model.
- * @param {int} modelId The model ID if the object to request
- * @param {string} modelName The model name to use when constructing the model.
- * @param {string} embedSourcePoint Where to check the embedds object for _embed data.
- * @param {string} embedCheckField Which model field to check to see if the model has data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} parentModel The parent model.
+ * @param {int} modelId The model ID if the object to request
+ * @param {string} modelName The model name to use when constructing the model.
+ * @param {string} embedSourcePoint Where to check the embedds object for _embed data.
+ * @param {string} embedCheckField Which model field to check to see if the model has data.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {Deferred.promise} A promise which resolves to the constructed model.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -414,12 +414,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Build a helper to retrieve a collection.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} parentModel The parent model.
- * @param {string} collectionName The name to use when constructing the collection.
- * @param {string} embedSourcePoint Where to check the embedds object for _embed data.
- * @param {string} embedIndex An addiitonal optional index for the _embed data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} parentModel The parent model.
+ * @param {string} collectionName The name to use when constructing the collection.
+ * @param {string} embedSourcePoint Where to check the embedds object for _embed data.
+ * @param {string} embedIndex An addiitonal optional index for the _embed data.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Deferred.promise} A promise which resolves to the constructed collection.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Deferred.promise} A promise which resolves to the constructed collection.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> buildCollectionGetter = function( parentModel, collectionName, embedSourcePoint, embedIndex ) {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpbackbonejs"></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/backbone.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/backbone.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/wp/backbone.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,8 +23,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @class
</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 {wp.Backbone.View} view The main view.
- * @param {Array|Object} views The subviews for the main view.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {wp.Backbone.View} view The main view.
+ * @param {Array|Object} views The subviews for the main view.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> wp.Backbone.Subviews = function( view, views ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.view = view;
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizebasejs"></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/base.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/base.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/wp/customize/base.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,10 +17,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Similar to `goog.inherits`, but uses a hash of prototype properties and
</span><span class="cx" style="display: block; padding: 0 10px"> * class properties to be extended.
</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 parent Parent class constructor to inherit from.
- * @param object protoProps Properties to apply to the prototype for use as class instance properties.
- * @param object staticProps Properties to apply directly to the class constructor.
- * @return child The subclassed constructor.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param object parent Parent class constructor to inherit from.
+ * @param object protoProps Properties to apply to the prototype for use as class instance properties.
+ * @param object staticProps Properties to apply directly to the class constructor.
+ * @return child The subclassed constructor.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> inherits = function( parent, protoProps, staticProps ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var child;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,9 +108,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Creates a subclass of the class.
</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 protoProps Properties to apply to the prototype.
- * @param object staticProps Properties to apply directly to the class.
- * @return child The subclass.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param object protoProps Properties to apply to the prototype.
+ * @param object staticProps Properties to apply directly to the class.
+ * @return child The subclass.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.Class.extend = function( protoProps, classProps ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var child = inherits( this, protoProps, classProps );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -354,11 +354,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see {api.Values.when}
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} id ID of the item.
- * @param {...} Zero or more IDs of items to wait for and a callback
- * function to invoke when they're available. Optional.
- * @return {mixed} The item instance if only one ID was supplied.
- * A Deferred Promise object if a callback function is supplied.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id ID of the item.
+ * @param {...} Zero or more IDs of items to wait for and a callback
+ * function to invoke when they're available. Optional.
+ * @return {mixed} The item instance if only one ID was supplied.
+ * A Deferred Promise object if a callback function is supplied.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> instance: function( id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( arguments.length === 1 ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -371,8 +371,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Get the instance of an item.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} id The ID of the item.
- * @return {[type]} [description]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id The ID of the item.
+ * @return {[type]} [description]
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> value: function( id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this._value[ id ];
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -381,7 +381,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Whether the collection has an item with the given 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">- * @param {string} id The ID of the item to look for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id The ID of the item to look for.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {Boolean}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> has: function( id ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -435,9 +435,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Create a new item of the collection using the collection's default constructor
</span><span class="cx" style="display: block; padding: 0 10px"> * and store it in the collection.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} id The ID of the item.
- * @param {mixed} value Any extra arguments are passed into the item's initialize method.
- * @return {mixed} The new item's instance.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id The ID of the item.
+ * @param {mixed} value Any extra arguments are passed into the item's initialize method.
+ * @return {mixed} The new item's instance.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> create: function( id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this.add( id, new this.defaultConstructor( api.Class.applicator, slice.call( arguments, 1 ) ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -446,8 +446,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Iterate over all items in the collection invoking the provided callback.
</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 {Function} callback Function to invoke.
- * @param {object} context Object context to invoke the function with. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Function} callback Function to invoke.
+ * @param {object} context Object context to invoke the function with. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> each: function( callback, context ) {
</span><span class="cx" style="display: block; padding: 0 10px"> context = typeof context === 'undefined' ? this : context;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -460,7 +460,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Remove an item from the collection.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} id The ID of the item to remove.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id The ID of the item to remove.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> remove: function( id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var value = this.value( id );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -670,10 +670,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Create a new Value.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} key Unique identifier.
- * @param {mixed} initial Initial value.
- * @param {mixed} options Options hash. Optional.
- * @return {Value} Class instance of the Value.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} key Unique identifier.
+ * @param {mixed} initial Initial value.
+ * @param {mixed} options Options hash. Optional.
+ * @return {Value} Class instance of the Value.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add: function( key, initial, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this[ key ] = new api.Value( initial, options );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -682,11 +682,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Initialize Messenger.
</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} params - Parameters to configure the messenger.
- * {string} params.url - The URL to communicate with.
- * {window} params.targetWindow - The window instance to communicate with. Default window.parent.
- * {string} params.channel - If provided, will send the channel with each message and only accept messages a matching channel.
- * @param {object} options - Extend any instance parameter or method with this object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {object} params - Parameters to configure the messenger.
+ * {string} params.url - The URL to communicate with.
+ * {window} params.targetWindow - The window instance to communicate with. Default window.parent.
+ * {string} params.channel - If provided, will send the channel with each message and only accept messages a matching channel.
+ * @param {object} options - Extend any instance parameter or method with this object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( params, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Target the parent frame by default, but only if a parent frame exists.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -747,7 +747,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Receive data from the other window.
</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 {jQuery.Event} event Event with embedded data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {jQuery.Event} event Event with embedded data.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> receive: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var message;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -786,8 +786,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Send data to the other window.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} id The event name.
- * @param {object} data Data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id The event name.
+ * @param {object} data Data.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> send: function( id, data ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var message;
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizeloaderjs"></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/loader.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/loader.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/wp/customize/loader.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -106,7 +106,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Open the Customizer overlay for a specific URL.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string src URL to load in the Customizer.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string src URL to load in the Customizer.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> open: function( src ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</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 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/wp/customize/preview-widgets.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -631,7 +631,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberOf wp.customize.widgetsPreview
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.9.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} widgetId ID of the widget.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} widgetId ID of the widget.
</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_enqueueswpmediamodelsjs"></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/media/models.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/media/models.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/wp/media/models.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,7 +17,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberOf wp
</span><span class="cx" style="display: block; padding: 0 10px"> * @namespace
</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} attributes The properties passed to the main media controller.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {object} attributes The properties passed to the main media controller.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {wp.media.view.MediaFrame} A media workflow.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> media = wp.media = function( attributes ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,13 +86,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Used to order models within a collection - @see wp.media.model.Attachments.comparator().
</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} a The primary parameter to compare.
- * @param {mixed} b The primary parameter to compare.
- * @param {string} ac The fallback parameter to compare, a's cid.
- * @param {string} bc The fallback parameter to compare, b's cid.
- * @return {number} -1: a should come before b.
- * 0: a and b are of the same rank.
- * 1: b should come before a.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {mixed} a The primary parameter to compare.
+ * @param {mixed} b The primary parameter to compare.
+ * @param {string} ac The fallback parameter to compare, a's cid.
+ * @param {string} bc The fallback parameter to compare, b's cid.
+ * @return {number} -1: a should come before b.
+ * 0: a and b are of the same rank.
+ * 1: b should come before a.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> media.compare = function( a, b, ac, bc ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( _.isEqual( a, b ) ) {
</span></span></pre></div>
<a id="trunksrcjs_enqueueswputiljs"></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/util.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/util.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/_enqueues/wp/util.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,9 +16,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Fetch a JavaScript template for an id, and return a templating function for it.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string} id A string that corresponds to a DOM element with an id prefixed with "tmpl-".
- * For example, "attachment" maps to "tmpl-attachment".
- * @return {function} A function that lazily-compiles the template requested.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id A string that corresponds to a DOM element with an id prefixed with "tmpl-".
+ * For example, "attachment" maps to "tmpl-attachment".
+ * @return {function} A function that lazily-compiles the template requested.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> wp.template = _.memoize(function ( id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var compiled,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,11 +56,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Sends a POST request to WordPress.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {(string|object)} action The slug of the action to fire in WordPress or options passed
- * to jQuery.ajax.
- * @param {object=} data Optional. The data to populate $_POST with.
- * @return {$.promise} A jQuery promise that represents the request,
- * decorated with an abort() method.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {(string|object)} action The slug of the action to fire in WordPress or options passed
+ * to jQuery.ajax.
+ * @param {object=} data Optional. The data to populate $_POST with.
+ * @return {$.promise} A jQuery promise that represents the request,
+ * decorated with an abort() method.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> post: function( action, data ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return wp.ajax.send({
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -73,11 +73,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Sends a POST request to WordPress.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {(string|object)} action The slug of the action to fire in WordPress or options passed
- * to jQuery.ajax.
- * @param {object=} options Optional. The options passed to jQuery.ajax.
- * @return {$.promise} A jQuery promise that represents the request,
- * decorated with an abort() method.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {(string|object)} action The slug of the action to fire in WordPress or options passed
+ * to jQuery.ajax.
+ * @param {object=} options Optional. The options passed to jQuery.ajax.
+ * @return {$.promise} A jQuery promise that represents the request,
+ * decorated with an abort() method.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> send: function( action, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var promise, deferred;
</span></span></pre></div>
<a id="trunksrcjsmediamodelsqueryjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/media/models/query.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/models/query.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/media/models/query.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -94,7 +94,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Fetch more attachments from the server for the collection.
</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} [options={}]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {object} [options={}]
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {Promise}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> more: function( options ) {
</span></span></pre></div>
<a id="trunksrcjsmediaviewsattachmentjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/media/views/attachment.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/views/attachment.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/media/views/attachment.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -501,8 +501,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Add the model if it isn't in the selection, if it is in the selection,
</span><span class="cx" style="display: block; padding: 0 10px"> * remove it.
</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 {[type]} event [description]
- * @return {[type]} [description]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {[type]} event [description]
+ * @return {[type]} [description]
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> checkClickHandler: function ( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var selection = this.options.selection;
</span></span></pre></div>
<a id="trunksrcjsmediaviewsframejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/media/views/frame.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/views/frame.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/media/views/frame.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -152,7 +152,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Check if a mode is enabled on the frame.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string mode Mode ID.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string mode Mode ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> isModeActive: function( mode ) {
</span></span></pre></div>
<a id="trunksrcjsmediaviewsuploadereditorjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/media/views/uploader/editor.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/views/uploader/editor.js 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/js/media/views/uploader/editor.js 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -129,7 +129,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * When a file is dropped on the editor uploader, open up an editor media workflow
</span><span class="cx" style="display: block; padding: 0 10px"> * and upload the file immediately.
</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 {jQuery.Event} event The 'drop' event.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {jQuery.Event} event The 'drop' event.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> drop: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var $wrap, uploadView;
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasscustomimageheaderphp"></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-custom-image-header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-custom-image-header.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-admin/includes/class-custom-image-header.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1490,7 +1490,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 array $object A crop attachment object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $object A crop attachment object.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return int|false An attachment ID if one exists. False if none.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function get_previous_crop( $object ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpcommunityeventsphp"></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-community-events.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-community-events.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-admin/includes/class-wp-community-events.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -300,7 +300,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $location Should contain 'latitude' and 'longitude' indexes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $location Should contain 'latitude' and 'longitude' indexes.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool|string false on failure, or a string on success.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function get_events_transient_key( $location ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -361,7 +361,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $response_body The response which contains the events.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $response_body The response which contains the events.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array The response with dates and times formatted.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function format_event_data_time( $response_body ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -436,7 +436,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.7 Stick a WordCamp to the final list.
</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 $response_body The response body which contains the events.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $response_body The response body which contains the events.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array The response body with events trimmed.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function trim_events( $response_body ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpupgraderphp"></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-upgrader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-upgrader.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-admin/includes/class-wp-upgrader.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -346,8 +346,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</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 $nested_files Array of files as returned by WP_Filesystem::dirlist()
- * @param string $path Relative path to prepend to child nodes. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $nested_files Array of files as returned by WP_Filesystem::dirlist().
+ * @param string $path Relative path to prepend to child nodes. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array A flattened array of the $nested_files specified.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function flatten_dirlist( $nested_files, $path = '' ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesplugininstallphp"></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/plugin-install.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/plugin-install.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-admin/includes/plugin-install.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -420,8 +420,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|object $api Data about the plugin retrieved from the API.
- * @param bool $loop Optional. Disable further loops. Default false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array|object $api Data about the plugin retrieved from the API.
+ * @param bool $loop Optional. Disable further loops. Default false.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array {
</span><span class="cx" style="display: block; padding: 0 10px"> * Plugin installation status data.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpblocktypephp"></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-block-type.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-block-type.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-block-type.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -188,8 +188,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.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 $attributes Original block attributes.
- * @return array Prepared block attributes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $attributes Original block attributes.
+ * @return array Prepared block attributes.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function prepare_attributes_for_render( $attributes ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // If there are no attribute definitions for the block type, skip
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizewidgetsphp"></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-widgets.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-widgets.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-customize-widgets.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1100,7 +1100,7 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $nonces Array of nonces.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $nonces Array of nonces.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array Array of nonces.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function refresh_nonces( $nonces ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1388,7 +1388,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $wp_registered_widget_updates
</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"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $widget_id Widget ID.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $widget_id Widget ID.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array|WP_Error Array containing the updated widget information.
</span><span class="cx" style="display: block; padding: 0 10px"> * A WP_Error object, otherwise.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpdatequeryphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-date-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-date-query.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-date-query.php 2020-06-20 12:57:00 UTC (rev 48110)
</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"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $query Query clause.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $query Query clause.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if this is a first-order clause.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function is_first_order_clause( $query ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -275,7 +275,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $date_query The date_query array.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $date_query The date_query array.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if all values in the query are valid, false if one or more fail.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function validate_date_values( $date_query = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -677,7 +677,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $query Date query arguments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $query Date query arguments.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array {
</span><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -694,8 +694,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $query Date query clause.
- * @param array $parent_query Parent query of the current date query.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $query Date query clause.
+ * @param array $parent_query Parent query of the current date query.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array {
</span><span class="cx" style="display: block; padding: 0 10px"> * Array containing JOIN and WHERE SQL clauses to append to the main query.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpimageeditorgdphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-image-editor-gd.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-image-editor-gd.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-image-editor-gd.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -146,9 +146,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int|null $max_w Image width.
- * @param int|null $max_h Image height.
- * @param bool $crop
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int|null $max_w Image width.
+ * @param int|null $max_h Image height.
+ * @param bool $crop
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return true|WP_Error
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function resize( $max_w, $max_h, $crop = false ) {
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpimageeditorimagickphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-image-editor-imagick.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-image-editor-imagick.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-image-editor-imagick.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -241,9 +241,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int|null $max_w Image width.
- * @param int|null $max_h Image height.
- * @param bool $crop
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int|null $max_w Image width.
+ * @param int|null $max_h Image height.
+ * @param bool $crop
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool|WP_Error
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function resize( $max_w, $max_h, $crop = false ) {
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpimageeditorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-image-editor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-image-editor.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-image-editor.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,9 +90,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @abstract
</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|null $max_w Image width.
- * @param int|null $max_h Image height.
- * @param bool $crop
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int|null $max_w Image width.
+ * @param int|null $max_h Image height.
+ * @param bool $crop
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool|WP_Error
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> abstract public function resize( $max_w, $max_h, $crop = false );
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpmatchesmapregexphp"></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-matchesmapregex.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-matchesmapregex.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-matchesmapregex.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -79,7 +79,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * preg_replace_callback hook
</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 $matches preg_replace regexp matches
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $matches preg_replace regexp matches
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function callback( $matches ) {
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpmetaqueryphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-meta-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-meta-query.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-meta-query.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -780,9 +780,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $clause Query clause.
- * @param array $parent_query Parent query of $clause.
- * @return string|bool Table alias if found, otherwise false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $clause Query clause.
+ * @param array $parent_query Parent query of $clause.
+ * @return string|false Table alias if found, otherwise false.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function find_compatible_table_alias( $clause, $parent_query ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $alias = false;
</span></span></pre></div>
<a id="trunksrcwpincludesclasswptaxqueryphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-tax-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-tax-query.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/class-wp-tax-query.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -497,8 +497,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $clause Query clause.
- * @param array $parent_query Parent query of $clause.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $clause Query clause.
+ * @param array $parent_query Parent query of $clause.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string|false Table alias if found, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function find_compatible_table_alias( $clause, $parent_query ) {
</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 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/comment.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -154,8 +154,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0 Refactored to leverage WP_Comment_Query over a direct query.
</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 $post_id The ID of the post.
- * @param array $args Optional. See WP_Comment_Query::__construct() for information on accepted arguments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $post_id The ID of the post.
+ * @param array $args Optional. See WP_Comment_Query::__construct() for information on accepted arguments.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return int|array The approved comments, or number of comments if `$count`
</span><span class="cx" style="display: block; padding: 0 10px"> * argument is true.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3560,7 +3560,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6
</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 $erasers An array of personal data erasers.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $erasers An array of personal data erasers.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array An array of personal data erasers.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_register_comment_personal_data_eraser( $erasers ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3577,8 +3577,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $email_address The comment author email address.
- * @param int $page Comment page.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $email_address The comment author email address.
+ * @param int $page Comment page.
</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_comments_personal_data_eraser( $email_address, $page = 1 ) {
</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 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/functions.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2832,7 +2832,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 $mime_to_ext Array of image mime types and their matching extensions.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $mime_to_ext Array of image mime types and their matching extensions.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $mime_to_ext = apply_filters(
</span><span class="cx" style="display: block; padding: 0 10px"> 'getimagesize_mimes_to_exts',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4417,7 +4417,7 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array|string $list List of slugs.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array|string $list List of slugs.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string[] Sanitized array of slugs.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_parse_slug_list( $list ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6403,10 +6403,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @link https://www.php.net/manual/en/function.checkdate.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 int $month Month number.
- * @param int $day Day number.
- * @param int $year Year number.
- * @param string $source_date The date to filter.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $month Month number.
+ * @param int $day Day number.
+ * @param int $year Year number.
+ * @param string $source_date The date to filter.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if valid date, false if not valid date.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_checkdate( $month, $day, $year, $source_date ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7069,9 +7069,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6 Abstracted from `WP_Community_Events::get_unsafe_client_ip()`.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $ip_addr The IPv4 or IPv6 address to be anonymized.
- * @param bool $ipv6_fallback Optional. Whether to return the original IPv6 address if the needed functions
- * to anonymize it are not present. Default false, return `::` (unspecified address).
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $ip_addr The IPv4 or IPv6 address to be anonymized.
+ * @param bool $ipv6_fallback Optional. Whether to return the original IPv6 address if the needed functions
+ * to anonymize it are not present. Default false, return `::` (unspecified address).
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string The anonymized IP address.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_privacy_anonymize_ip( $ip_addr, $ipv6_fallback = false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7139,8 +7139,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $type The type of data to be anonymized.
- * @param string $data Optional The data to be anonymized.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $type The type of data to be anonymized.
+ * @param string $data Optional The data to be anonymized.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string The anonymous data for the requested type.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_privacy_anonymize_data( $type, $data = '' ) {
</span></span></pre></div>
<a id="trunksrcwpincludesgeneraltemplatephp"></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/general-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/general-template.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/general-template.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2415,8 +2415,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $format Optional. PHP date format defaults to the date_format option if not specified.
- * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default current post.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $format Optional. PHP date format defaults to the date_format option if not specified.
+ * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default current post.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string|false Date the current post was written. False on failure.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_the_date( $format = '', $post = null ) {
</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 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/link-template.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3144,9 +3144,9 @@
</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 string $path Optional. Path relative to the home URL. Default empty.
- * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts
- * 'http', 'https', 'relative', 'rest', or null. Default null.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $path Optional. Path relative to the home URL. Default empty.
+ * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts
+ * 'http', 'https', 'relative', 'rest', or null. Default null.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string Home URL link with optional path appended.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function home_url( $path = '', $scheme = null ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3164,10 +3164,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global string $pagenow
</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 $blog_id Optional. Site ID. Default null (current site).
- * @param string $path Optional. Path relative to the home URL. Default empty.
- * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts
- * 'http', 'https', 'relative', 'rest', or null. Default null.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $blog_id Optional. Site ID. Default null (current site).
+ * @param string $path Optional. Path relative to the home URL. Default empty.
+ * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts
+ * 'http', 'https', 'relative', 'rest', or null. Default null.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string Home URL link with optional path appended.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_home_url( $blog_id = null, $path = '', $scheme = null ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3383,11 +3383,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.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">- * @param string $path Optional. Extra path appended to the end of the URL, including
- * the relative directory if $plugin is supplied. Default empty.
- * @param string $plugin Optional. A full path to a file inside a plugin or mu-plugin.
- * The URL will be relative to its directory. Default empty.
- * Typically this is done by passing `__FILE__` as the argument.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $path Optional. Extra path appended to the end of the URL, including
+ * the relative directory if $plugin is supplied. Default empty.
+ * @param string $plugin Optional. A full path to a file inside a plugin or mu-plugin.
+ * The URL will be relative to its directory. Default empty.
+ * Typically this is done by passing `__FILE__` as the argument.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string Plugins URL link with optional paths appended.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function plugins_url( $path = '', $plugin = '' ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3485,9 +3485,9 @@
</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 string $path Optional. Path relative to the home URL. Default empty.
- * @param string $scheme Optional. Scheme to give the home URL context. Accepts
- * 'http', 'https', or 'relative'. Default null.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $path Optional. Path relative to the home URL. Default empty.
+ * @param string $scheme Optional. Scheme to give the home URL context. Accepts
+ * 'http', 'https', or 'relative'. Default null.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string Home URL link with optional path appended.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function network_home_url( $path = '', $scheme = null ) {
</span></span></pre></div>
<a id="trunksrcwpincludesmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/media.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/media.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4541,8 +4541,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.6
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $email_address The attachment owner email address.
- * @param int $page Attachment page.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $email_address The attachment owner email address.
+ * @param int $page Attachment page.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array An array of personal data.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_media_personal_data_exporter( $email_address, $page = 1 ) {
</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 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/ms-functions.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2577,8 +2577,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param int $size Upload size limit in bytes.
- * @return int Upload size limit in bytes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param int $size Upload size limit in bytes.
+ * @return int Upload size limit in bytes.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function upload_size_limit_filter( $size ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $fileupload_maxk = KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 );
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiphp"></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.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api.php 2020-06-20 12:38:55 UTC (rev 48109)
+++ trunk/src/wp-includes/rest-api.php 2020-06-20 12:57:00 UTC (rev 48110)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -717,8 +717,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param array $array1 The array with master keys to check.
- * @param array $array2 An array to compare keys against.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $array1 The array with master keys to check.
+ * @param array $array2 An array to compare keys against.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array An associative array containing all the entries of array1 which have keys
</span><span class="cx" style="display: block; padding: 0 10px"> * that are present in all arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1062,9 +1062,9 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param mixed $value
- * @param WP_REST_Request $request
- * @param string $param
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param mixed $value
+ * @param WP_REST_Request $request
+ * @param string $param
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return true|WP_Error
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function rest_validate_request_arg( $value, $request, $param ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1082,9 +1082,9 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param mixed $value
- * @param WP_REST_Request $request
- * @param string $param
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param mixed $value
+ * @param WP_REST_Request $request
+ * @param string $param
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return mixed
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function rest_sanitize_request_arg( $value, $request, $param ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1105,9 +1105,9 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param mixed $value
- * @param WP_REST_Request $request
- * @param string $param
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param mixed $value
+ * @param WP_REST_Request $request
+ * @param string $param
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return mixed
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function rest_parse_request_arg( $value, $request, $param ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1129,7 +1129,7 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string $ip IP address.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string $ip IP address.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string|false The valid IP address, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function rest_is_ip_address( $ip ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1633,9 +1633,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.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 $memo Reduce accumulator.
- * @param string $path REST API path to preload.
- * @return array Modified reduce accumulator.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array $memo Reduce accumulator.
+ * @param string $path REST API path to preload.
+ * @return array Modified reduce accumulator.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function rest_preload_api_request( $memo, $path ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // array_reduce() doesn't support passing an array in PHP 5.2,
</span></span></pre>
</div>
</div>
</body>
</html>