<!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>[48650] trunk: Build/Test Tools: Enable JSDocs to be linted with ESLint.</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/48650">48650</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/48650","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>whyisjake</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2020-07-27 23:33:51 +0000 (Mon, 27 Jul 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'>Build/Test Tools: Enable JSDocs to be linted with ESLint.
As part of the [Javascript Inline Docs Initiative](https://make.wordpress.org/core/handbook/docs/inline/js/) this add some tooling to lint Javascript docblocks. Two new commands:
* `npm run lint:jsdoc`
* `npm run lint:jsdoc:fix`
The latter will run the linter and try to fix an possible issues automatically.
Fixes <a href="https://core.trac.wordpress.org/ticket/43828">#43828</a>.
Props netweb, atimmer, kamataryo, whyisjake.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkpackagejson">trunk/package.json</a></li>
<li><a href="#trunksrcjs_enqueuesadmincommonjs">trunk/src/js/_enqueues/admin/common.js</a></li>
<li><a href="#trunksrcjs_enqueuesadmineditcommentsjs">trunk/src/js/_enqueues/admin/edit-comments.js</a></li>
<li><a href="#trunksrcjs_enqueuesadmininlineeditpostjs">trunk/src/js/_enqueues/admin/inline-edit-post.js</a></li>
<li><a href="#trunksrcjs_enqueuesadminpostjs">trunk/src/js/_enqueues/admin/post.js</a></li>
<li><a href="#trunksrcjs_enqueuesadminpostboxjs">trunk/src/js/_enqueues/admin/postbox.js</a></li>
<li><a href="#trunksrcjs_enqueuesadmintagssuggestjs">trunk/src/js/_enqueues/admin/tags-suggest.js</a></li>
<li><a href="#trunksrcjs_enqueuesadminwidgetsjs">trunk/src/js/_enqueues/admin/widgets.js</a></li>
<li><a href="#trunksrcjs_enqueueslibadminbarjs">trunk/src/js/_enqueues/lib/admin-bar.js</a></li>
<li><a href="#trunksrcjs_enqueueslibcommentreplyjs">trunk/src/js/_enqueues/lib/comment-reply.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_enqueueswpa11yjs">trunk/src/js/_enqueues/wp/a11y.js</a></li>
<li><a href="#trunksrcjs_enqueueswpapijs">trunk/src/js/_enqueues/wp/api.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcodeeditorjs">trunk/src/js/_enqueues/wp/code-editor.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomheaderjs">trunk/src/js/_enqueues/wp/custom-header.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizebasejs">trunk/src/js/_enqueues/wp/customize/base.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizecontrolsjs">trunk/src/js/_enqueues/wp/customize/controls.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizenavmenusjs">trunk/src/js/_enqueues/wp/customize/nav-menus.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizepreviewnavmenusjs">trunk/src/js/_enqueues/wp/customize/preview-nav-menus.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizepreviewjs">trunk/src/js/_enqueues/wp/customize/preview.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizeselectiverefreshjs">trunk/src/js/_enqueues/wp/customize/selective-refresh.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizewidgetsjs">trunk/src/js/_enqueues/wp/customize/widgets.js</a></li>
<li><a href="#trunksrcjs_enqueueswpeditorbasejs">trunk/src/js/_enqueues/wp/editor/base.js</a></li>
<li><a href="#trunksrcjs_enqueueswpeditordfwjs">trunk/src/js/_enqueues/wp/editor/dfw.js</a></li>
<li><a href="#trunksrcjs_enqueueswpmceviewjs">trunk/src/js/_enqueues/wp/mce-view.js</a></li>
<li><a href="#trunksrcjs_enqueueswpmediaeditorjs">trunk/src/js/_enqueues/wp/media/editor.js</a></li>
<li><a href="#trunksrcjs_enqueueswpmediamodelsjs">trunk/src/js/_enqueues/wp/media/models.js</a></li>
<li><a href="#trunksrcjs_enqueueswpmediaviewsjs">trunk/src/js/_enqueues/wp/media/views.js</a></li>
<li><a href="#trunksrcjs_enqueueswpthemeplugineditorjs">trunk/src/js/_enqueues/wp/theme-plugin-editor.js</a></li>
<li><a href="#trunksrcjs_enqueueswpthemejs">trunk/src/js/_enqueues/wp/theme.js</a></li>
<li><a href="#trunksrcjs_enqueueswpupdatesjs">trunk/src/js/_enqueues/wp/updates.js</a></li>
<li><a href="#trunksrcjs_enqueueswputiljs">trunk/src/js/_enqueues/wp/util.js</a></li>
<li><a href="#trunksrcjs_enqueueswputilswordcountjs">trunk/src/js/_enqueues/wp/utils/word-count.js</a></li>
<li><a href="#trunksrcjs_enqueueswpwidgetscustomhtmljs">trunk/src/js/_enqueues/wp/widgets/custom-html.js</a></li>
<li><a href="#trunksrcjs_enqueueswpwidgetsmediajs">trunk/src/js/_enqueues/wp/widgets/media.js</a></li>
<li><a href="#trunksrcjsmediacontrollerslibraryjs">trunk/src/js/media/controllers/library.js</a></li>
<li><a href="#trunksrcjsmediacontrollersregionjs">trunk/src/js/media/controllers/region.js</a></li>
<li><a href="#trunksrcjsmediamodelsattachmentsjs">trunk/src/js/media/models/attachments.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="#trunksrcjsmediaviewsfocusmanagerjs">trunk/src/js/media/views/focus-manager.js</a></li>
<li><a href="#trunksrcjsmediaviewsuploadereditorjs">trunk/src/js/media/views/uploader/editor.js</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkeslintignore">trunk/.eslintignore</a></li>
<li><a href="#trunkeslintrcjsdocjs">trunk/.eslintrc-jsdoc.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkeslintignore"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/.eslintignore</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.eslintignore (rev 0)
+++ trunk/.eslintignore 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,15 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Files and folders related to build/test tools
+/build
+/node_modules
+/tests
+/vendor
+/tools
+
+# Excluded files and folders based on `jsdoc.conf.json` exclusions
+/src/js/_enqueues/vendor
+
+# Webpack built files
+/src/wp-includes/js/media-*
+
+# Themes
+src/wp-content/themes/
</ins></span></pre></div>
<a id="trunkeslintrcjsdocjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/.eslintrc-jsdoc.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.eslintrc-jsdoc.js (rev 0)
+++ trunk/.eslintrc-jsdoc.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,29 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+module.exports = {
+ rules: {
+ 'require-jsdoc': 'off',
+ 'valid-jsdoc': [ 'error', {
+ prefer: {
+ arg: 'param',
+ argument: 'param',
+ extends: 'augments',
+ returns: 'return',
+ },
+ preferType: {
+ array: 'Array',
+ bool: 'boolean',
+ Boolean: 'boolean',
+ float: 'number',
+ Float: 'number',
+ int: 'number',
+ integer: 'number',
+ Integer: 'number',
+ Number: 'number',
+ object: 'Object',
+ String: 'string',
+ Void: 'void',
+ },
+ requireParamDescription: false,
+ requireReturn: false,
+ } ],
+ },
+};
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/.eslintrc-jsdoc.js
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunkpackagejson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/package.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/package.json 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/package.json 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -155,6 +155,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "test": "grunt test",
</span><span class="cx" style="display: block; padding: 0 10px"> "watch": "grunt watch",
</span><span class="cx" style="display: block; padding: 0 10px"> "grunt": "grunt",
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "lint:jsdoc": "wp-scripts lint-js",
+ "lint:jsdoc:fix": "wp-scripts lint-js --fix",
</ins><span class="cx" style="display: block; padding: 0 10px"> "env:start": "node ./tools/local-env/scripts/start.js",
</span><span class="cx" style="display: block; padding: 0 10px"> "env:stop": "node ./tools/local-env/scripts/docker.js down",
</span><span class="cx" style="display: block; padding: 0 10px"> "env:restart": "npm run env:stop && npm run env:start",
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadmincommonjs"></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/common.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/common.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/admin/common.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -137,7 +137,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {int} diff The modifier for the column span.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} diff The modifier for the column span.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> colSpanChange : function(diff) {
</span><span class="cx" style="display: block; padding: 0 10px"> var $t = $('table').find('.colspanchange'), n;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -384,7 +384,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * If the structure is already used in the custom permalink structure,
</span><span class="cx" style="display: block; padding: 0 10px"> * it will be disabled.
</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} button Button jQuery object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} button Button jQuery object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function changeStructureTagButtonState( button ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( -1 !== $permalinkStructure.val().indexOf( button.text().trim() ) ) {
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadmineditcommentsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/edit-comments.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/edit-comments.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/admin/edit-comments.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -159,7 +159,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Ajax response from the server that includes a
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Ajax response from the server that includes a
</ins><span class="cx" style="display: block; padding: 0 10px"> * translated "comments in moderation" message.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadmininlineeditpostjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/inline-edit-post.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/inline-edit-post.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/admin/inline-edit-post.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -389,7 +389,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {int} id The ID for the post that has been changed.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} id The ID for the post that has been changed.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} False, so the form does not submit when pressing
</span><span class="cx" style="display: block; padding: 0 10px"> * Enter on a focused field.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadminpostjs"></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/post.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/post.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/admin/post.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,8 +34,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof commentsBox
</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} total Total number of comments for this post.
- * @param {int} num Optional. Number of comments to fetch, defaults to 20.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} total Total number of comments for this post.
+ * @param {number} num Optional. Number of comments to fetch, defaults to 20.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Always returns false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> get : function(total, num) {
</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"> * @memberof commentsBox
</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} total Total number of comments to load.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} total Total number of comments to load.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> load: function(total){
</span><span class="cx" style="display: block; padding: 0 10px"> this.st = jQuery('#the-comment-list tr.comment:visible').length;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -116,7 +116,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Set the Image ID of the Featured Image
</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 post_id of the image to use as Featured Image.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} id The post_id of the image to use as Featured Image.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadminpostboxjs"></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/postbox.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/postbox.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/admin/postbox.js 2020-07-27 23:33:51 UTC (rev 48650)
</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 5.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} position The "previous" or "next" sortables area.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} button The jQuery object representing the button that was clicked.
- * @param {object} postbox The jQuery object representing the postbox to be moved.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} button The jQuery object representing the button that was clicked.
+ * @param {Object} postbox The jQuery object representing the postbox to be moved.
</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_enqueuesadmintagssuggestjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/tags-suggest.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/tags-suggest.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/admin/tags-suggest.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,8 +30,8 @@
</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 {object} options Options that are passed to UI Autocomplete. Can be used to override the default settings.
- * @return {object} jQuery instance.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options Options that are passed to UI Autocomplete. Can be used to override the default settings.
+ * @return {Object} jQuery instance.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $.fn.wpTagsSuggest = function( options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var cache;
</span></span></pre></div>
<a id="trunksrcjs_enqueuesadminwidgetsjs"></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/widgets.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/widgets.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/admin/widgets.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -234,7 +234,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @ignore
</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} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> over: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var $wrap = $( event.target ).parent();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -259,7 +259,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @ignore
</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} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> out: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( wpWidgets.hoveredSidebar ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -729,7 +729,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Used when a Widget gets dragged in/out of the Sidebar and never dropped.
</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} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> closeSidebar: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.hoveredSidebar
</span></span></pre></div>
<a id="trunksrcjs_enqueueslibadminbarjs"></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/admin-bar.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/lib/admin-bar.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/lib/admin-bar.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -294,8 +294,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.1
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} element The HTML element.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} className The class name.
- * @return {bool} Whether the element has the className.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} className The class name.
+ * @return {boolean} Whether the element has the className.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function hasClass( element, className ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var classNames;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -320,7 +320,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.1
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} element The HTML element.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} className The class name.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} className The class name.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function addClass( element, className ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! element ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -344,7 +344,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.3.1
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} element The HTML element.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} className The class name.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} className The class name.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function removeClass( element, className ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var testName,
</span></span></pre></div>
<a id="trunksrcjs_enqueueslibcommentreplyjs"></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/comment-reply.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/lib/comment-reply.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/lib/comment-reply.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -265,9 +265,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} Element DOM element with the attribute.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} Attribute the attribute to get.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} Attribute the attribute to get.
</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}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {string}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function getDataAttribute( element, attribute ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( supportsDataset ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -298,11 +298,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberOf addComment
</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} addBelowId HTML ID of element the form follows.
- * @param {String} commentId Database ID of comment being replied to.
- * @param {String} respondId HTML ID of 'respond' element.
- * @param {String} postId Database ID of the post.
- * @param {String} replyTo Form heading content.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} addBelowId HTML ID of element the form follows.
+ * @param {string} commentId Database ID of comment being replied to.
+ * @param {string} respondId HTML ID of 'respond' element.
+ * @param {string} postId Database ID of the post.
+ * @param {string} replyTo Form heading content.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function moveForm( addBelowId, commentId, respondId, postId, replyTo ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Get elements based on their IDs.
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/lib/image-edit.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -73,7 +73,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} el The element that should be modified.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {bool|number} s The state for the element. If set to true
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean|number} s The state for the element. If set to true
</ins><span class="cx" style="display: block; padding: 0 10px"> * the element is disabled,
</span><span class="cx" style="display: block; padding: 0 10px"> * otherwise the element is enabled.
</span><span class="cx" style="display: block; padding: 0 10px"> * The function is sometimes called with a 0 or 1
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -577,7 +577,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} postid The post ID for the image.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce to verify the request.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} view The image editor view to be used for the editing.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} view The image editor view to be used for the editing.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void|promise} Either returns void if the button was already activated
</span><span class="cx" style="display: block; padding: 0 10px"> * or returns an instance of the image editor, wrapped in a promise.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -774,10 +774,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @ignore
</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} img jQuery object representing the image.
- * @param {object} c The selection.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} img jQuery object representing the image.
+ * @param {Object} c The selection.
</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 {object}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> onSelectEnd: function(img, c) {
</span><span class="cx" style="display: block; padding: 0 10px"> imageEdit.setCropSelection(postid, c);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -788,8 +788,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @ignore
</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} img jQuery object representing the image.
- * @param {object} c The selection.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} img jQuery object representing the image.
+ * @param {Object} c The selection.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -809,7 +809,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} postid The post ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} c The selection.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} c The selection.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -841,9 +841,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} postid The post ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {bool} warn Warning message.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} warn Warning message.
</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 {void|bool} Returns false if there is a warning.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {void|boolean} Returns false if there is a warning.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> close : function(postid, warn) {
</span><span class="cx" style="display: block; padding: 0 10px"> warn = warn || false;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -908,7 +908,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof imageEdit
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} op The original position.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} op The original position.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {number} postid The post ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -945,7 +945,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} angle The angle the image is rotated with.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} postid The post ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} t The target element.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} t The target element.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -967,7 +967,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} axis The axle the image is flipped on.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} postid The post ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} t The target element.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} t The target element.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -988,7 +988,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} postid The post ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} nonce The nonce.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} t The target object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} t The target object.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void|boolean} Returns false if the crop button is disabled.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/lib/lists.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -202,7 +202,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * 6. 0 if none can be found.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} element Element that triggered the request.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Settings for the Ajax request.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Settings for the Ajax request.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {string|number} Nonce
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> nonce: function( element, settings ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -258,9 +258,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Calls a confirm callback to verify the action that is about to be performed.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} list The DOM element.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Settings for this list.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Settings for this list.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} action The type of action to perform: 'add', 'delete', or 'dim'.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object|boolean} Settings if confirmed, false if not.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object|boolean} Settings if confirmed, false if not.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> pre: function( list, settings, action ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var $element, backgroundColor, confirmed;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -297,7 +297,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Adds an item to the list via Ajax.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} element The DOM element.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Settings for this list.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Settings for this list.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Whether the item was added.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> ajaxAdd: function( element, settings ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -399,7 +399,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Delete an item in the list via Ajax.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} element A DOM element containing item data.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Settings for this list.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Settings for this list.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Whether the item was deleted.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> ajaxDel: function( element, settings ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -486,7 +486,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Dim an item in the list via Ajax.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} element A DOM element containing item data.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Settings for this list.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Settings for this list.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Whether the item was dim'ed.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> ajaxDim: function( element, settings ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -621,7 +621,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Adds something.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} element A DOM element containing item data.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Settings for this list.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Settings for this list.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Whether the item was added.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add: function( element, settings ) {
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/lib/nav-menu.js 2020-07-27 23:33:51 UTC (rev 48650)
</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">@@ -1293,7 +1293,7 @@
</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><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} el The element to be removed as a jQuery object.
</del><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"> *
</span><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></pre></div>
<a id="trunksrcjs_enqueueswpa11yjs"></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/a11y.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/a11y.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/a11y.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,8 +18,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.3.0 Introduced the 'ariaLive' argument.
</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 The message to be announced by Assistive Technologies.
- * @param {String} [ariaLive] The politeness level for aria-live. Possible values:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} message The message to be announced by Assistive Technologies.
+ * @param {string} [ariaLive] The politeness level for aria-live. Possible values:
</ins><span class="cx" style="display: block; padding: 0 10px"> * polite or assertive. Default polite.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -53,7 +53,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.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} ariaLive Optional. Value for the 'aria-live' attribute, default 'polite'.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} ariaLive Optional. Value for the 'aria-live' attribute, default 'polite'.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {Object} $container The ARIA live region jQuery object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpapijs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/wp/api.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/api.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/api.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -186,7 +186,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Extract a route part based on negative index.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} route The endpoint route.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {int} part The number of parts from the end of the route to retrieve. Default 1.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} part The number of parts from the end of the route to retrieve. Default 1.
</ins><span class="cx" style="display: block; padding: 0 10px"> * Example route `/a/b/c`: part 1 is `c`, part 2 is `b`, part 3 is `a`.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [versionString] Version string, defaults to `wp.api.versionString`.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [reverse] Whether to reverse the order when extracting the route part. Optional, default false.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -234,7 +234,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Add args and options to a model prototype from a route's endpoints.
</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} routeEndpoints Array of route endpoints.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array} routeEndpoints Array of route endpoints.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} modelInstance An instance of the model (or collection)
</span><span class="cx" style="display: block; padding: 0 10px"> * to add the args to.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</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"> * Build a helper function to retrieve related model.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} parentModel The parent model.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {int} modelId The model ID if the object to request
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} modelId The model ID if the object to request
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} modelName The model name to use when constructing the model.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} embedSourcePoint Where to check the embedds object for _embed data.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} embedCheckField Which model field to check to see if the model has data.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -513,7 +513,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} key The meta key.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object} The post meta value.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} The post meta value.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getMeta: function( key ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var metas = this.get( 'meta' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -523,7 +523,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Get all meta key/values for a post.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object} The post metas, as a key value pair object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} The post metas, as a key value pair object.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getMetas: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> return this.get( 'meta' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -532,7 +532,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Set a group of meta key/values for a post.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} meta The post meta to set, as key/value pairs.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} meta The post meta to set, as key/value pairs.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setMetas: function( meta ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var metas = this.get( 'meta' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -544,7 +544,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Set a single meta value for a post, by key.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} key The meta key.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} value The meta value.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} value The meta value.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setMeta: function( key, value ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var metas = this.get( 'meta' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -589,7 +589,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Accepts an array of tag slugs, or a Tags 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 {array|Backbone.Collection} tags The tags to set on the post.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array|Backbone.Collection} tags The tags to set on the post.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setTags: function( tags ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -635,7 +635,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Accepts a Tags 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 {array|Backbone.Collection} tags The tags to set on the post.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array|Backbone.Collection} tags The tags to set on the post.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setTagsWithCollection: function( tags ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -673,7 +673,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Accepts an array of category slugs, or a Categories 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 {array|Backbone.Collection} categories The categories to set on the post.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array|Backbone.Collection} categories The categories to set on the post.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setCategories: function( categories ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -720,7 +720,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Accepts Categories 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 {array|Backbone.Collection} categories The categories to set on the post.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array|Backbone.Collection} categories The categories to set on the post.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setCategoriesWithCollection: function( categories ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1495,11 +1495,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Initialize the wp-api, optionally passing the API root.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [args]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [args]
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.nonce] The nonce. Optional, defaults to wpApiSettings.nonce.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.apiRoot] The api root. Optional, defaults to wpApiSettings.root.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.versionString] The version string. Optional, defaults to wpApiSettings.root.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [args.schema] The schema. Optional, will be fetched from API if not provided.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [args.schema] The schema. Optional, will be fetched from API if not provided.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> wp.api.init = function( args ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var endpoint, attributes = {}, deferred, promise;
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcodeeditorjs"></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/code-editor.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/code-editor.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/code-editor.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,8 +39,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Configure linting.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {CodeMirror} editor - Editor.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings - Code editor settings.
- * @param {object} settings.codeMirror - Settings for CodeMirror.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings - Code editor settings.
+ * @param {Object} settings.codeMirror - Settings for CodeMirror.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} settings.onChangeLintingErrors - Callback for when there are changes to linting errors.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} settings.onUpdateErrorNotice - Callback to update error notice.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -64,7 +64,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Get lint options.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object} Lint options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} Lint options.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function getLintOptions() { // eslint-disable-line complexity
</span><span class="cx" style="display: block; padding: 0 10px"> var options = editor.getOption( 'lint' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -213,8 +213,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Configure tabbing.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {CodeMirror} codemirror - Editor.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings - Code editor settings.
- * @param {object} settings.codeMirror - Settings for CodeMirror.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings - Code editor settings.
+ * @param {Object} settings.codeMirror - Settings for CodeMirror.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} settings.onTabNext - Callback to handle tabbing to the next tabbable element.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} settings.onTabPrevious - Callback to handle tabbing to the previous tabbable element.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -267,15 +267,15 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string|jQuery|Element} textarea - The HTML id, jQuery object, or DOM Element for the textarea that is used for the editor.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [settings] - Settings to override defaults.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [settings] - Settings to override defaults.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} [settings.onChangeLintingErrors] - Callback for when the linting errors have changed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} [settings.onUpdateErrorNotice] - Callback for when error notice should be displayed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} [settings.onTabPrevious] - Callback to handle tabbing to the previous tabbable element.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} [settings.onTabNext] - Callback to handle tabbing to the next tabbable element.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [settings.codemirror] - Options for CodeMirror.
- * @param {object} [settings.csslint] - Rules for CSSLint.
- * @param {object} [settings.htmlhint] - Rules for HTMLHint.
- * @param {object} [settings.jshint] - Rules for JSHint.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [settings.codemirror] - Options for CodeMirror.
+ * @param {Object} [settings.csslint] - Rules for CSSLint.
+ * @param {Object} [settings.htmlhint] - Rules for HTMLHint.
+ * @param {Object} [settings.jshint] - Rules for JSHint.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {CodeEditorInstance} Instance.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomheaderjs"></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/custom-header.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/custom-header.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/custom-header.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,7 +108,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Initialize the video handler.
</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} settings Video settings.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Video settings.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( settings ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var handler = this,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -217,7 +217,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Whether the handler can process a video.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @abstract
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Video settings.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Video settings.
</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"> test: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -239,7 +239,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberOf wp
</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.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} protoProps Properties to apply to the prototype.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return CustomHandler The subclass.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> BaseHandler.extend = function( protoProps ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -271,7 +271,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Whether the native handler supports a video.
</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} settings Video settings.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Video settings.
</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"> test: function( settings ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -345,7 +345,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Whether the handler supports a video.
</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} settings Video settings.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Video settings.
</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"> test: function( settings ) {
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/customize/base.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -188,7 +188,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> api.Value = api.Class.extend(/** @lends wp.customize.Value.prototype */{
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {mixed} initial The initial value.
</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"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( initial, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this._value = initial; // @todo Potentially change this to a this.set() call.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -220,7 +220,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Set the value and trigger all bound callbacks.
</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} to New value.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} to New value.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> set: function( to ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var from = this._value;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -382,7 +382,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id The ID of the item to look for.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><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="cx" style="display: block; padding: 0 10px"> return typeof this._value[ id ] !== 'undefined';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -447,7 +447,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} callback Function to invoke.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @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 {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">@@ -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.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} params - Parameters to configure the messenger.
</ins><span class="cx" style="display: block; padding: 0 10px"> * {string} params.url - The URL to communicate with.
</span><span class="cx" style="display: block; padding: 0 10px"> * {window} params.targetWindow - The window instance to communicate with. Default window.parent.
</span><span class="cx" style="display: block; padding: 0 10px"> * {string} params.channel - If provided, will send the channel with each message and only accept messages a matching channel.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @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} 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">@@ -787,7 +787,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id The event name.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} data Data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @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 class="lines" style="display: block; padding: 0 10px; color: #888">@@ -862,7 +862,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} code - Notification code.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} params - Notification parameters.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} params - Notification parameters.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} params.message - Message.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [params.type=error] - Type.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [params.setting] - Related setting ID.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -934,7 +934,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @alias wp.customize.get
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.get = function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var result = {};
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -962,7 +962,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @alias wp.customize.utils.parseQueryString
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} queryString Query string.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object} Parsed query string.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} Parsed query string.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.utils.parseQueryString = function parseQueryString( queryString ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var queryParams = {};
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizecontrolsjs"></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/controls.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/controls.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/customize/controls.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} code - Code.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} params - Params.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} params - Params.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( code, params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var notification = this;
</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"> * @constructs wp.customize.Notifications
</span><span class="cx" style="display: block; padding: 0 10px"> * @augments wp.customize.Values
</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 - Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} [options.container] - Container element for notifications. This can be injected later.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [options.alt] - Whether alternative style should be used when rendering notifications.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -174,7 +174,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Notifications may be sorted by type followed by added time.
</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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} args - Args.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args - Args.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [args.sort=false] - Whether to return the notifications sorted.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {Array.<wp.customize.Notification>} Notifications.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -362,10 +362,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - The setting ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {*} value - The initial value of the setting.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options={}] - Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options={}] - Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.transport=refresh] - The transport to use for previewing. Supports 'refresh' and 'postMessage'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [options.dirty=false] - Whether the setting should be considered initially dirty.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options.previewer] - The Previewer instance to sync with. Defaults to wp.customize.previewer.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options.previewer] - The Previewer instance to sync with. Defaults to wp.customize.previewer.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, value, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var setting = this, params;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -495,9 +495,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</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] Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options] Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [options.unsaved=false] Whether only values not saved yet into a changeset will be returned (differential changes).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object} Dirty setting values.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} Dirty setting values.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.dirtyValues = function dirtyValues( options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var values = {};
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -528,9 +528,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</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} [changes] - Mapping of setting IDs to setting params each normally including a value property, or mapping to null.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [changes] - Mapping of setting IDs to setting params each normally including a value property, or mapping to null.
</ins><span class="cx" style="display: block; padding: 0 10px"> * If not provided, then the changes will still be obtained from unsaved dirty settings.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [args] - Additional options for the save request.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [args] - Additional options for the save request.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [args.autosave=false] - Whether changes will be stored in autosave revision if the changeset has been promoted from an auto-draft.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [args.force=false] - Send request to update even when there are no changes to submit. This can be used to request the latest status of the changeset on the server.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.title] - Title to update in the changeset. Optional.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -736,7 +736,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {(wp.customize.Panel|wp.customize.Section|wp.customize.Control)} a
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {(wp.customize.Panel|wp.customize.Section|wp.customize.Control)} b
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Number}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {number}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.utils.prioritySort = function ( a, b ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( a.priority() === b.priority() && typeof a.params.instanceNumber === 'number' && typeof b.params.instanceNumber === 'number' ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -796,7 +796,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} button - The element to highlight.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options] - Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options] - Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {number} [options.delay=0] - Delay in milliseconds.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} [options.focusTarget] - A target for user focus that defaults to the highlighted element.
</span><span class="cx" style="display: block; padding: 0 10px"> * If the user focuses the target before the delay passes, the reminder
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -850,7 +850,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">- * @return {int} Current timestamp.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {number} Current timestamp.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.utils.getCurrentTimestamp = function getCurrentTimestamp() {
</span><span class="cx" style="display: block; padding: 0 10px"> var currentDate, currentClientTimestamp, timestampDifferential;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -869,8 +869,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string|int|Date} datetime - Date time or timestamp of the future date.
- * @return {int} remainingTime - Remaining time in milliseconds.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string|number|Date} datetime - Date time or timestamp of the future date.
+ * @return {number} remainingTime - Remaining time in milliseconds.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.utils.getRemainingTime = function getRemainingTime( datetime ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var millisecondsDivider = 1000, remainingTime, timestamp;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -940,7 +940,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @borrows wp.customize~focus as focus
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - The ID for the container.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Object containing one property: params.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Object containing one property: params.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.title - Title shown when panel is collapsed and expanded.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.description] - Description shown at the top of the panel.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} [options.priority=100] - The sort priority for the panel.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -948,7 +948,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [options.active=true] - Whether the panel is active or not.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options.params] - Deprecated wrapper for the above properties.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options.params] - Deprecated wrapper for the above properties.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function ( id, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var container = this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1055,8 +1055,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 {String} parentType
- * @param {String} childType
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} parentType
+ * @param {string} childType
</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"> _children: function ( parentType, childType ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1154,9 +1154,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 {Boolean} active
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} active
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [params]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean} False if state already applied.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean} False if state already applied.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _toggleActive: function ( active, params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var self = this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1175,7 +1175,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [params]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean} False if already active.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean} False if already active.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> activate: function ( params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this._toggleActive( true, params );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1183,7 +1183,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [params]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean} False if already inactive.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean} False if already inactive.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> deactivate: function ( params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this._toggleActive( false, params );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1200,10 +1200,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Handle the toggle logic for expand/collapse.
</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 {Boolean} expanded - The new state to apply.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} expanded - The new state to apply.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [params] - Object containing options for expand/collapse.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} [params.completeCallback] - Function to call when expansion/collapse is complete.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean} False if state already applied or active state is false.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean} False if state already applied or active state is false.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _toggleExpanded: function( expanded, params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var instance = this, previousCompleteCallback;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1240,7 +1240,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [params]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean} False if already expanded or if inactive.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean} False if already expanded or if inactive.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> expand: function ( params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this._toggleExpanded( true, params );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1248,7 +1248,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [params]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean} False if already collapsed.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean} False if already collapsed.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> collapse: function ( params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this._toggleExpanded( false, params );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1409,7 +1409,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - The ID for the section.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.title - Title shown when section is collapsed and expanded.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.description] - Description shown at the top of the section.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} [options.priority=100] - The sort priority for the section.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1418,7 +1418,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [options.active=true] - Whether the section is active or not.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.panel - The ID for the panel this section is associated with.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.customizeAction] - Additional context information shown before the section title when expanded.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options.params] - Deprecated wrapper for the above properties.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options.params] - Deprecated wrapper for the above properties.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function ( id, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var section = this, params;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1545,7 +1545,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> isContextuallyActive: function () {
</span><span class="cx" style="display: block; padding: 0 10px"> var section = this,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1575,7 +1575,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 {Boolean} expanded
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} expanded
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} args
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> onChangeExpanded: function ( expanded, args ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1697,7 +1697,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, options ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1799,7 +1799,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">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> isContextuallyActive: function () {
</span><span class="cx" style="display: block; padding: 0 10px"> return this.active();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1951,9 +1951,9 @@
</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 {Boolean} expanded
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} expanded
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} args
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} args.unchanged
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} args.unchanged
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} args.completeCallback
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2167,7 +2167,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"> * @param {Array} themes - Array of theme data to create controls with.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {integer} page - Page of results being loaded.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} page - Page of results being loaded.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> loadControls: function( themes, page ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2412,7 +2412,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">- * @return {int} Visible count.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {number} Visible count.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getVisibleCount: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> return this.contentContainer.find( 'li.customize-control:visible' ).length;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2559,7 +2559,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 {object} theme - Theme.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} theme - Theme.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} [callback] - Callback once the details have been shown.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2667,7 +2667,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 {Boolean} expanded - The expanded state to transition to.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} expanded - The expanded state to transition to.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [args] - Args.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [args.unchanged] - Whether the state is already known to not be changed, and so short-circuit with calling completeCallback early.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} [args.completeCallback] - Function to call when the slideUp/slideDown has completed.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2762,7 +2762,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - The ID for the panel.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Object containing one property: params.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Object containing one property: params.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.title - Title shown when panel is collapsed and expanded.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.description] - Description shown at the top of the panel.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} [options.priority=100] - The sort priority for the panel.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2769,7 +2769,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [options.active=true] - Whether the panel is active or not.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options.params] - Deprecated wrapper for the above properties.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options.params] - Deprecated wrapper for the above properties.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function ( id, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var panel = this, params;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2905,9 +2905,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 {Boolean} expanded
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} expanded
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} args
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} args.unchanged
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} args.unchanged
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} args.completeCallback
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3036,7 +3036,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - The ID for the panel.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, options ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3133,9 +3133,9 @@
</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 {Boolean} expanded - Expanded state.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} expanded - Expanded state.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} args - Args.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} args.unchanged - Whether or not the state changed.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} args.unchanged - Whether or not the state changed.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} args.completeCallback - Callback to execute when the animation completes.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3482,8 +3482,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @borrows wp.customize~Container#_toggleActive as this#_toggleActive
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - Unique identifier for the control instance.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Options hash for the control instance.
- * @param {object} options.type - Type of control (e.g. text, radio, dropdown-pages, etc.)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options hash for the control instance.
+ * @param {Object} options.type - Type of control (e.g. text, radio, dropdown-pages, etc.)
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.content] - The HTML content for the control or at least its container. This should normally be left blank and instead supplying a templateId.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.templateId] - Template ID for control's content.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.priority=10] - Order of priority to show the control within the section.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3496,7 +3496,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.label - Label.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.description - Description.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} [options.instanceNumber] - Order in which this instance was created in relation to other instances.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options.params] - Deprecated wrapper for the above properties.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options.params] - Deprecated wrapper for the above properties.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, options ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3900,9 +3900,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 {Boolean} active
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} active
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} args
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Number} args.duration
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} args.duration
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} args.completeCallback
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> onChangeActive: function ( active, args ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4355,7 +4355,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Called when the "Remove" link is clicked. Empties the setting.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} event jQuery Event object
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery Event object
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> removeFile: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( api.utils.isKeydownButNotEnterEvent( event ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4565,7 +4565,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * After the image has been cropped, apply the cropped image data to the setting.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} croppedImage Cropped attachment data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} croppedImage Cropped attachment data.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> onCropped: function( croppedImage ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.setImageFromAttachment( croppedImage );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4641,13 +4641,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Return whether the image must be cropped, based on required dimensions.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {bool} flexW
- * @param {bool} flexH
- * @param {int} dstW
- * @param {int} dstH
- * @param {int} imgW
- * @param {int} imgH
- * @return {bool}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} flexW
+ * @param {boolean} flexH
+ * @param {number} dstW
+ * @param {number} dstH
+ * @param {number} imgW
+ * @param {number} imgH
+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> mustBeCropped: function( flexW, flexH, dstW, dstH, imgW, imgH ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( true === flexW && true === flexH ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4684,7 +4684,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Updates the setting and re-renders the control UI.
</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} attachment
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} attachment
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setImageFromAttachment: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.params.attachment = attachment;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4770,7 +4770,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Updates the setting and re-renders the control UI.
</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} attachment
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} attachment
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setImageFromAttachment: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var sizes = [ 'site_icon-32', 'thumbnail', 'full' ], link,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4799,7 +4799,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Called when the "Remove" link is clicked. Empties the setting.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} event jQuery Event object
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery Event object
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> removeFile: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( api.utils.isKeydownButNotEnterEvent( event ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5009,7 +5009,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * After the image has been cropped, apply the cropped image data to the setting.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} croppedImage Cropped attachment data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} croppedImage Cropped attachment data.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> onCropped: function(croppedImage) {
</span><span class="cx" style="display: block; padding: 0 10px"> var url = croppedImage.url,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5022,7 +5022,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * If cropping was skipped, apply the image data directly to the setting.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} selection
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} selection
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> onSkippedCrop: function(selection) {
</span><span class="cx" style="display: block; padding: 0 10px"> var url = selection.get('url'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5036,10 +5036,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * header image data and inserts it into the user-uploaded headers
</span><span class="cx" style="display: block; padding: 0 10px"> * 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} url
- * @param {Number} attachmentId
- * @param {Number} width
- * @param {Number} height
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} url
+ * @param {number} attachmentId
+ * @param {number} width
+ * @param {number} height
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setImageFromURL: function(url, attachmentId, width, height) {
</span><span class="cx" style="display: block; padding: 0 10px"> var choice, data = {};
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5245,7 +5245,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"> * @param {string} id - Unique identifier for the control instance.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Options hash for the control instance.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options hash for the control instance.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, options ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5384,7 +5384,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Initialize syntax-highlighting editor.
</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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} codeEditorSettings - Code editor settings.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} codeEditorSettings - Code editor settings.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initSyntaxHighlightingEditor: function( codeEditorSettings ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5626,7 +5626,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} datetime - Date/Time string. Accepts Y-m-d[ H:i[:s]] format.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object|null} Returns object containing date components or null if parse error.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object|null} Returns object containing date components or null if parse error.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> parseDateTime: function parseDateTime( datetime ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var control = this, matches, date, midDayHour = 12;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6218,10 +6218,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @constructs wp.customize.PreviewFrame
</span><span class="cx" style="display: block; padding: 0 10px"> * @augments wp.customize.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.container
- * @param {object} params.previewUrl
- * @param {object} params.query
- * @param {object} options
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} params.container
+ * @param {Object} params.previewUrl
+ * @param {Object} params.query
+ * @param {Object} options
</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"> var deferred = $.Deferred();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6248,7 +6248,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Run the preview request.
</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} deferred jQuery Deferred object to be resolved with
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} deferred jQuery Deferred object to be resolved with
</ins><span class="cx" style="display: block; padding: 0 10px"> * the request.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> run: function( deferred ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6456,12 +6456,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @constructs wp.customize.Previewer
</span><span class="cx" style="display: block; padding: 0 10px"> * @augments wp.customize.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 {array} params.allowedUrls
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array} params.allowedUrls
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} params.container A selector or jQuery element for the preview
</span><span class="cx" style="display: block; padding: 0 10px"> * frame to be placed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} params.form
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} params.previewUrl The URL to preview.
</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"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( params, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var previewer = this,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6609,11 +6609,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</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} data - Data from preview.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} data - Data from preview.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} data.currentUrl - Current URL.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} data.activePanels - Active panels.
- * @param {object} data.activeSections Active sections.
- * @param {object} data.activeControls Active controls.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} data.activePanels - Active panels.
+ * @param {Object} data.activeSections Active sections.
+ * @param {Object} data.activeControls Active controls.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> ready: function( data ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6917,8 +6917,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @private
</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} args
- * @param {object} args.settingValidities
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args
+ * @param {Object} args.settingValidities
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [args.focusInvalidControl=false]
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6993,7 +6993,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string[]} settingIds Setting IDs.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object<string, wp.customize.Control>} Mapping setting ids to arrays of controls.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object<string, wp.customize.Control>} Mapping setting ids to arrays of controls.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.findControlsForSettings = function findControlsForSettings( settingIds ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var controls = {}, settingControls;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7401,9 +7401,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0 Added options param.
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</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] Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options] Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [options.excludeCustomizedSaved=false] Exclude saved settings in customized response (values pending writing to changeset).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object} Query vars.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} Query vars.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> query: function( options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var queryVars = {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7439,7 +7439,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0 Added args param and return 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 {object} [args] Args.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [args] Args.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.status=publish] Status.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.date] Date, in local time in MySQL format.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.title] Title
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8121,7 +8121,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [code] - Code.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [params] - Params.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [params] - Params.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( code, params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var notification = this, _code, _params;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8210,8 +8210,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [args] - Args.
- * @param {object} [args.lockUser] - Lock user data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [args] - Args.
+ * @param {Object} [args.lockUser] - Lock user data.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {boolean} [args.allowOverride=false] - Whether override is allowed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8637,7 +8637,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</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} header - Header.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} header - Header.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {number} scrollTop - Scroll top.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} scrollDirection - Scroll direction, negative number being up and positive being down.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizenavmenusjs"></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/nav-menus.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/nav-menus.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/customize/nav-menus.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -95,7 +95,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @alias wp.customize.Menus.insertAutoDraftPost
</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 for the draft post to create.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} params - Parameters for the draft post to create.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} params.post_type - Post type to add.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} params.post_title - Post title to use.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {jQuery.promise} Promise resolved with the added post.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -387,7 +387,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0 Changed function signature to take list of item types instead of single type/object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</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>} itemTypes List of objects containing type and key.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array.<Object>} itemTypes List of objects containing type and key.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} deprecated Formerly the object parameter.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -905,7 +905,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.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} id
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} options
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, options ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2212,7 +2212,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @private
</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} offset 1|-1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} offset 1|-1
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _changePosition: function( offset ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var control = this,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2272,7 +2272,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @private
</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} offset 1|-1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} offset 1|-1
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _changeDepth: function( offset ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 1 !== offset && -1 !== offset ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2655,7 +2655,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Notice that the UI aspects here are handled by wpNavMenu.initSortables()
</span><span class="cx" style="display: block; padding: 0 10px"> * which is called in MenuSection.onChangeExpanded()
</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} menuList - The element that has sortable().
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} menuList - The element that has sortable().
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _setupSortable: function( menuList ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var control = this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2854,7 +2854,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Enable/disable the reordering UI
</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 {Boolean} showOrHide to enable/disable reordering
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} showOrHide to enable/disable reordering
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> toggleReordering: function( showOrHide ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var addNewItemBtn = this.container.find( '.add-new-menu-item' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2994,7 +2994,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Add a new item to this menu.
</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} item - Value for the nav_menu_item setting to be created.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} item - Value for the nav_menu_item setting to be created.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {wp.customize.Menus.controlConstructor.nav_menu_item} The newly-created nav_menu_item control instance.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> addItemToMenu: function( item ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3135,9 +3135,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @alias wp.customize.Menus.applySavedData
</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} data
- * @param {array} data.nav_menu_updates
- * @param {array} data.nav_menu_item_updates
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} data
+ * @param {Array} data.nav_menu_updates
+ * @param {Array} data.nav_menu_item_updates
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.Menus.applySavedData = function( data ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3394,7 +3394,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @alias wp.customize.Menus.getMenuItemControl
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} menuItemId
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object|null}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object|null}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.Menus.getMenuItemControl = function( menuItemId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return api.control( menuItemIdToSettingId( menuItemId ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3403,7 +3403,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @alias wp.customize.Menus~menuItemIdToSettingId
</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} menuItemId
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} menuItemId
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function menuItemIdToSettingId( menuItemId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return 'nav_menu_item[' + menuItemId + ']';
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizepreviewnavmenusjs"></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-nav-menus.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/preview-nav-menus.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/customize/preview-nav-menus.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -98,7 +98,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.params.navMenuArgs.args_hmac
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [options.params.navMenuArgs.theme_location]
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {number} [options.params.navMenuArgs.menu]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options.constructingContainerContext]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options.constructingContainerContext]
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var partial = this, matches, argsHmac;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -132,8 +132,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {wp.customize.Value|string} setting - Object or ID.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {number|object|false|null} newValue - New value, or null if the setting was just removed.
- * @param {number|object|false|null} oldValue - Old value, or null if the setting was just added.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number|Object|false|null} newValue - New value, or null if the setting was just removed.
+ * @param {number|Object|false|null} oldValue - Old value, or null if the setting was just added.
</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"> isRelatedSetting: function( setting, newValue, oldValue ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -263,7 +263,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Request full refresh if there are nav menu instances that lack partials which also match the supplied args.
</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} navMenuInstanceArgs
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} navMenuInstanceArgs
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> self.handleUnplacedNavMenuInstances = function( navMenuInstanceArgs ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var unplacedNavMenuInstances;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -283,7 +283,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {wp.customize.Value} setting
</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"> * @param {boolean} options.fire Whether to invoke the callback after binding.
</span><span class="cx" style="display: block; padding: 0 10px"> * This is used when a dynamic setting is added.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Whether the setting was bound.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -370,8 +370,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.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 {object} newItem New value for nav_menu_item[] setting.
- * @param {object} oldItem Old value for nav_menu_item[] setting.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} newItem New value for nav_menu_item[] setting.
+ * @param {Object} oldItem Old value for nav_menu_item[] setting.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @this {wp.customize.Value}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> self.onChangeNavMenuItemSetting = function( newItem, oldItem ) {
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizepreviewjs"></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.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/preview.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/customize/preview.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -102,8 +102,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.Preview = api.Messenger.extend(/** @lends wp.customize.Preview.prototype */{
</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.
- * @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.
+ * @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"> var preview = this, urlParser = document.createElement( 'a' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -276,8 +276,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} element.search Query string.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} element.pathname Path.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} element.host Host.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [options]
- * @param {object} [options.allowAdminAjax=false] Allow admin-ajax.php requests.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [options]
+ * @param {Object} [options.allowAdminAjax=false] Allow admin-ajax.php requests.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Is appropriate for changeset link.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.isLinkPreviewable = function isLinkPreviewable( element, options ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -399,10 +399,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Rewrite Ajax requests to inject customizer state.
</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 Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.type Type.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.url URL.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} originalOptions Original options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} originalOptions Original options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {XMLHttpRequest} xhr XHR.
</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_enqueueswpcustomizeselectiverefreshjs"></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/selective-refresh.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/selective-refresh.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/customize/selective-refresh.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -60,13 +60,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id - Unique identifier for the partial instance.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} options - Options hash for the partial instance.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options hash for the partial instance.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.type - Type of partial (e.g. nav_menu, widget, etc)
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.selector - jQuery selector to find the container element in the page.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {array} options.settings - The IDs for the settings the partial relates to.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array} options.settings - The IDs for the settings the partial relates to.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.primarySetting - The ID for the primary setting the partial renders.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {bool} options.fallbackRefresh - Whether to refresh the entire preview in case of a partial refresh failure.
- * @param {object} [options.params] - Deprecated wrapper for the above properties.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} options.fallbackRefresh - Whether to refresh the entire preview in case of a partial refresh failure.
+ * @param {Object} [options.params] - Deprecated wrapper for the above properties.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( id, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var partial = this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -285,7 +285,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {String[]}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {string[]}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> settings: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var partial = this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -406,8 +406,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Placement} placement
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Element|jQuery} [placement.container] - This param will be empty if there was no element matching the selector.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string|object|boolean} placement.addedContent - Rendered HTML content, a data object for JS templates to render, or false if no render.
- * @param {object} [placement.context] - Optional context information about the container.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string|Object|boolean} placement.addedContent - Rendered HTML content, a data object for JS templates to render, or false if no render.
+ * @param {Object} [placement.context] - Optional context information about the container.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Whether the rendering was successful and the fallback was not invoked.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> renderContent: function( placement ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -602,12 +602,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.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 {object} args
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Partial} args.partial
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery|Element} [args.container]
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Node} [args.startNode]
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Node} [args.endNode]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} [args.context]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [args.context]
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} [args.addedContent]
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery|DocumentFragment} [args.removedNodes]
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -645,7 +645,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @see wp.customize.previewer.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">- * @return {object}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> self.getCustomizeQuery = function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var dirtyCustomized = {};
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizewidgetsjs"></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/widgets.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/widgets.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/customize/widgets.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -459,7 +459,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery.Event} e
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} widget
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} newForm
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} newForm
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> rss: function( e, widget, newForm ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var oldWidgetError = widget.find( '.widget-error:first' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -968,7 +968,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 {Boolean} active
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} active
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} args
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {function} args.completeCallback
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1075,7 +1075,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Get the state for an input depending on its type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery|Element} input
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {string|boolean|array|*}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {string|boolean|Array|*}
</ins><span class="cx" style="display: block; padding: 0 10px"> * @private
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _getInputState: function( input ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1095,7 +1095,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Update an input's state based on its type.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery|Element} input
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {string|boolean|array|*} state
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string|boolean|Array|*} state
</ins><span class="cx" style="display: block; padding: 0 10px"> * @private
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _setInputState: function ( input, state ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1143,10 +1143,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Submit the widget form via Ajax and get back the updated instance,
</span><span class="cx" style="display: block; padding: 0 10px"> * along with the new widget control form to render.
</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} [args]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [args]
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object|null} [args.instance=null] When the model changes, the instance is sent here; otherwise, the inputs from the form are used
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function|null} [args.complete=null] Function which is called when the request finishes. Context is bound to the control. First argument is any error. Following arguments are for success.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} [args.ignoreActiveElement=false] Whether or not updating a field will be deferred if focus is still on the element.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} [args.ignoreActiveElement=false] Whether or not updating a field will be deferred if focus is still on the element.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> updateWidget: function( args ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var self = this, instanceOverride, completeCallback, $widgetRoot, $widgetContent,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1398,7 +1398,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Respond to change in the expanded state.
</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 {Boolean} expanded
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} expanded
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} args merged on top of this.defaultActiveArguments
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> onChangeExpanded: function ( expanded, args ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1498,7 +1498,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Get the position (index) of the widget in the containing sidebar
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Number}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {number}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getWidgetSidebarPosition: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var sidebarWidgetIds, position;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1530,7 +1530,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @private
</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} offset 1|-1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} offset 1|-1
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _moveWidgetByOne: function( offset ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var i, sidebarWidgetsSetting, sidebarWidgetIds, adjacentWidgetId;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1549,7 +1549,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Toggle visibility of the widget move area
</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 {Boolean} [showOrHide]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} [showOrHide]
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> toggleWidgetMoveArea: function( showOrHide ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var self = this, $moveWidgetArea;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2007,7 +2007,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Enable/disable the reordering UI
</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 {Boolean} showOrHide to enable/disable reordering
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} showOrHide to enable/disable reordering
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @todo We should have a reordering state instead and rename this to onChangeReordering
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2065,7 +2065,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} widgetId or an id_base for adding a previously non-existing widget.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object|false} widget_form control instance, or false on error.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object|false} widget_form control instance, or false on error.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> addWidget: function( widgetId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var self = this, controlHtml, $widget, controlType = 'widget_form', controlContainer, controlConstructor,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2246,7 +2246,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Given a widget control, find the sidebar widgets control that contains it.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} widgetId
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object|null}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object|null}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.Widgets.getSidebarWidgetControlContainingWidget = function( widgetId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var foundControl = null;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2265,7 +2265,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Given a widget ID for a widget appearing in the preview, get the widget form control associated with it.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} widgetId
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object|null}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object|null}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> api.Widgets.getWidgetFormControlForWidget = function( widgetId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var foundControl = null;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2333,7 +2333,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} widgetId
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} widgetId
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {Object}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function parseWidgetId( widgetId ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2355,8 +2355,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} widgetId
- * @return {String} settingId
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} widgetId
+ * @return {string} settingId
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function widgetIdToSettingId( widgetId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var parsed = parseWidgetId( widgetId ), settingId;
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpeditorbasejs"></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/editor/base.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/editor/base.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/editor/base.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -473,7 +473,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The method directly manipulates the `textarea` content, to allow TinyMCE plugins
</span><span class="cx" style="display: block; padding: 0 10px"> * to run after the markers are added.
</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} $textarea TinyMCE's textarea wrapped as a DomQuery object
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} $textarea TinyMCE's textarea wrapped as a DomQuery object
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function addHTMLBookmarkInTextAreaContent( $textarea ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $textarea || ! $textarea.length ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -561,7 +561,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * By default TinyMCE wraps loose inline tags in a `<p>`.
</span><span class="cx" style="display: block; padding: 0 10px"> * When removing selection markers an empty `<p>` may be left behind, 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 {object} $marker The marker to be removed from the editor DOM, wrapped in an instnce of `editor.$`
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} $marker The marker to be removed from the editor DOM, wrapped in an instnce of `editor.$`
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function removeSelectionMarker( $marker ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var $markerParent = $marker.parent();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1132,8 +1132,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof switchEditors
</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} html The content from the visual editor.
- * @return {String} the filtered content.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} html The content from the visual editor.
+ * @return {string} the filtered content.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function pre_wpautop( html ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var obj = { o: exports, data: html, unfiltered: html };
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1158,8 +1158,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof switchEditors
</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} text The content from the text editor.
- * @return {String} filtered content.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} text The content from the text editor.
+ * @return {string} filtered content.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wpautop( text ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var obj = { o: exports, data: text, unfiltered: text };
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1225,7 +1225,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} id The HTML id of the textarea that is used for the editor.
</span><span class="cx" style="display: block; padding: 0 10px"> * Has to be jQuery compliant. No brackets, special chars, etc.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings Example:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings Example:
</ins><span class="cx" style="display: block; padding: 0 10px"> * settings = {
</span><span class="cx" style="display: block; padding: 0 10px"> * // See https://www.tinymce.com/docs/configure/integration-and-setup/.
</span><span class="cx" style="display: block; padding: 0 10px"> * // Alternatively set to `true` to use the defaults.
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpeditordfwjs"></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/editor/dfw.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/editor/dfw.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/editor/dfw.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -204,7 +204,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Gets the offset of the editor.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Number|Boolean} Returns the offset of the editor
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {number|boolean} Returns the offset of the editor
</ins><span class="cx" style="display: block; padding: 0 10px"> * or false if there is no offset height.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function mceGetCursorOffset() {
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpmceviewjs"></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/mce-view.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/mce-view.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/mce-view.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -46,7 +46,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Registers a new view type.
</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 view type.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} type The view type.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} extend An object to extend wp.mce.View.prototype with.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> register: function( type, extend ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,7 +56,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Unregisters a view type.
</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 view type.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} type The view type.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> unregister: function( type ) {
</span><span class="cx" style="display: block; padding: 0 10px"> delete views[ type ];
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -65,7 +65,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Returns the settings of a view type.
</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 view type.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} type The view type.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {Function} The view constructor.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -88,10 +88,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * replacing any matches with markers,
</span><span class="cx" style="display: block; padding: 0 10px"> * and creates a new instance for every match.
</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} content The string to scan.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} content The string to scan.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {tinymce.Editor} editor The editor.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {String} The string with markers.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {string} The string with markers.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setMarkers: function( content, editor ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var pieces = [ { content: content } ],
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -149,10 +149,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Create a view instance.
</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 view type.
- * @param {String} text The textual representation of the view.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} type The view type.
+ * @param {string} text The textual representation of the view.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} options Options.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} force Recreate the instance. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} force Recreate the instance. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {wp.mce.View} The view instance.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -190,7 +190,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Get a view instance.
</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|HTMLElement)} object The textual representation of the view or the view node.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {(string|HTMLElement)} object The textual representation of the view or the view node.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {wp.mce.View} The view instance or undefined.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -207,7 +207,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} node The view node.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {String} The textual representation of the view.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {string} The textual representation of the view.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getText: function( node ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return decodeURIComponent( $( node ).attr( 'data-wpview-text' ) || '' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -216,7 +216,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Renders all view nodes that are not yet rendered.
</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 {Boolean} force Rerender all view nodes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} force Rerender all view nodes.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> render: function( force ) {
</span><span class="cx" style="display: block; padding: 0 10px"> _.each( instances, function( instance ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -227,10 +227,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Update the text of a given view node.
</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} text The new text.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} text The new text.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {tinymce.Editor} editor The TinyMCE editor instance the view node is in.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} node The view node to update.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} force Recreate the instance. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} force Recreate the instance. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> update: function( text, editor, node, force ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var instance = this.getInstance( node );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -317,8 +317,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Renders all view nodes tied to this view instance that are not yet rendered.
</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} content The content to render. Optional.
- * @param {Boolean} force Rerender all view nodes tied to this view instance. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} content The content to render. Optional.
+ * @param {boolean} force Rerender all view nodes tied to this view instance. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> render: function( content, force ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( content != null ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -385,7 +385,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Gets all view nodes tied to this view instance.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} callback A callback.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} rendered Get (un)rendered view nodes. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} rendered Get (un)rendered view nodes. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getNodes: function( callback, rendered ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.getEditors( function( editor ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -473,7 +473,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {*} content The content to set.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} callback A callback. Optional.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} rendered Only set for (un)rendered nodes. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} rendered Only set for (un)rendered nodes. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setContent: function( content, callback, rendered ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( _.isObject( content ) && ( content.sandbox || content.head || content.body.indexOf( '<script' ) !== -1 ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -502,10 +502,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Sets the content in an iframe for all view nodes tied to this view instance.
</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} head HTML string to be added to the head of the document.
- * @param {String} body HTML string to be added to the body of the document.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} head HTML string to be added to the head of the document.
+ * @param {string} body HTML string to be added to the body of the document.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Function} callback A callback. Optional.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} rendered Only set for (un)rendered nodes. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} rendered Only set for (un)rendered nodes. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setIframes: function( head, body, callback, rendered ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var self = this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -698,8 +698,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Sets an error for all view nodes tied to this view instance.
</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 The error message to set.
- * @param {String} dashicon A dashicon ID. Optional. {@link https://developer.wordpress.org/resource/dashicons/}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} message The error message to set.
+ * @param {string} dashicon A dashicon ID. Optional. {@link https://developer.wordpress.org/resource/dashicons/}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> setError: function( message, dashicon ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.setContent(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -713,7 +713,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Tries to find a text match in a given string.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} content The string to scan.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} content The string to scan.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {Object}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -734,10 +734,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Update the text of a given view node.
</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} text The new text.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} text The new text.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {tinymce.Editor} editor The TinyMCE editor instance the view node is in.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {HTMLElement} node The view node to update.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} force Recreate the instance. Optional.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} force Recreate the instance. Optional.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> update: function( text, editor, node, force ) {
</span><span class="cx" style="display: block; padding: 0 10px"> _.find( views, function( view, type ) {
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpmediaeditorjs"></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/editor.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/media/editor.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/media/editor.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,7 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * passed as an input that expects booleans. If key is undefined in the map,
</span><span class="cx" style="display: block; padding: 0 10px"> * but has a default value, set 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 {object} attrs Map of props from a shortcode or settings.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} attrs Map of props from a shortcode or settings.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} key The key within the passed map to check for a value.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {mixed|undefined} The original or coerced value of key within attrs.
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/media/models.js 2020-07-27 23:33:51 UTC (rev 48650)
</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">@@ -183,10 +183,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Truncates a string by injecting an ellipsis into the middle.
</span><span class="cx" style="display: block; padding: 0 10px"> * Useful for filenames.
</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
- * @param {Number} [length=30]
- * @param {String} [replacement=…]
- * @return {String} The string, unless length is greater than string.length.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} string
+ * @param {number} [length=30]
+ * @param {string} [replacement=…]
+ * @return {string} The string, unless length is greater than string.length.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> truncate: function( string, length, replacement ) {
</span><span class="cx" style="display: block; padding: 0 10px"> length = length || 30;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -209,7 +209,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * wp.media.attachment
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @static
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} id A string used to identify a model.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} id A string used to identify a model.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {wp.media.model.Attachment}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> media.attachment = function( id ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -229,7 +229,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Shorthand for creating a new Attachments 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 {object} [props]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} [props]
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {wp.media.model.Attachments}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> media.query = function( props ) {
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpmediaviewsjs"></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/views.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/media/views.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/media/views.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,7 +48,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Makes it easier to bind events using transitions.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} selector
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Number} sensitivity
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {number} sensitivity
</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"> media.transition = function( selector, sensitivity ) {
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpthemeplugineditorjs"></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/theme-plugin-editor.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/theme-plugin-editor.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/theme-plugin-editor.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,8 +27,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"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {jQuery} form - Form element.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} settings - Settings.
- * @param {object|boolean} settings.codeEditor - Code editor settings (or `false` if syntax highlighting is disabled).
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings - Settings.
+ * @param {Object|boolean} settings.codeEditor - Code editor settings (or `false` if syntax highlighting is disabled).
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> component.init = function init( form, settings ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -117,7 +117,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Constrain tabbing within the warning modal.
</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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> component.constrainTabbing = function( event ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -254,7 +254,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 {object} notice - Notice.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} notice - Notice.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} notice.code - Code.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} notice.type - Type.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} notice.message - Message.
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpthemejs"></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/theme.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/theme.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/theme.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1428,7 +1428,7 @@
</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><span class="cx" style="display: block; padding: 0 10px"> * @param {string} url - URL to navigate to.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} state - State.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} state - State.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function navigateRouter( url, state ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1841,7 +1841,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Get the checked filters.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {array} of tags or false
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Array} of tags or false
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> filtersChecked: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var items = $( '.filter-group' ).find( ':checkbox' ),
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpupdatesjs"></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/updates.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/updates.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/updates.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -150,7 +150,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} data
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} data
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {*=} data.selector Optional. Selector of an element to be replaced with the admin notice.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} data.id Optional. Unique id that will be used as the notice's id attribute.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} data.className Optional. Class names that will be used in the admin notice.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -194,7 +194,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} action The type of Ajax request ('update-plugin', 'install-theme', etc).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} data Data that needs to be passed to the ajax callback.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} data Data that needs to be passed to the ajax callback.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {$.promise} A jQuery promise that represents the request,
</span><span class="cx" style="display: block; padding: 0 10px"> * decorated with an abort() method.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -243,8 +243,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response
- * @param {array=} response.debug Optional. Debug information.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response
+ * @param {Array=} response.debug Optional. Debug information.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} response.errorCode Optional. Error code for an error that occurred.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> wp.updates.ajaxAlways = function( response ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -355,7 +355,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0 More accurately named `updatePlugin`.
</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} args Arguments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args Arguments.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.plugin Plugin basename.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.slug Plugin slug.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {updatePluginSuccess=} args.success Optional. Success callback. Default: wp.updates.updatePluginSuccess
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -412,7 +412,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0 More accurately named `updatePluginSuccess`.
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.5.0 Auto-update "time to next update" text cleared.
</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} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the plugin to be updated.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.plugin Basename of the plugin to be updated.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.pluginName Name of the plugin to be updated.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -466,7 +466,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0 More accurately named `updatePluginError`.
</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} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the plugin to be updated.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.plugin Basename of the plugin to be updated.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} response.pluginName Optional. Name of the plugin to be updated.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -562,7 +562,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} args Arguments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args Arguments.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.slug Plugin identifier in the WordPress.org Plugin repository.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {installPluginSuccess=} args.success Optional. Success callback. Default: wp.updates.installPluginSuccess
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {installPluginError=} args.error Optional. Error callback. Default: wp.updates.installPluginError
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -613,7 +613,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the installed plugin.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.pluginName Name of the installed plugin.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.activateUrl URL to activate the just installed plugin.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -678,7 +678,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the plugin to be installed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} response.pluginName Optional. Name of the plugin to be installed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorCode Error code for the error that occurred.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -739,7 +739,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the installed plugin.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.pluginName Name of the installed plugin.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.activateUrl URL to activate the just installed plugin.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -778,7 +778,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the plugin to be installed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} response.pluginName Optional. Name of the plugin to be installed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorCode Error code for the error that occurred.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -829,7 +829,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} args Arguments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args Arguments.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.plugin Basename of the plugin to be deleted.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.slug Slug of the plugin to be deleted.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {deletePluginSuccess=} args.success Optional. Success callback. Default: wp.updates.deletePluginSuccess
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -956,7 +956,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the plugin to be deleted.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.plugin Base name of the plugin to be deleted
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} response.pluginName Optional. Name of the plugin to be deleted.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1013,7 +1013,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} args Arguments.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args Arguments.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.slug Theme stylesheet.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {updateThemeSuccess=} args.success Optional. Success callback. Default: wp.updates.updateThemeSuccess
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {updateThemeError=} args.error Optional. Error callback. Default: wp.updates.updateThemeError
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1069,9 +1069,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.5.0 Auto-update "time to next update" text cleared.
</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} response
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the theme to be updated.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response.theme Updated theme.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response.theme Updated theme.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.oldVersion Old version of the theme.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.newVersion New version of the theme.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1134,7 +1134,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the theme to be updated.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorCode Error code for the error that occurred.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorMessage The error that occurred.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1184,7 +1184,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} args
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.slug Theme stylesheet.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {installThemeSuccess=} args.success Optional. Success callback. Default: wp.updates.installThemeSuccess
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {installThemeError=} args.error Optional. Error callback. Default: wp.updates.installThemeError
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1231,7 +1231,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the theme to be installed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.customizeUrl URL to the Customizer for the just installed theme.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.activateUrl URL to activate the just installed theme.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1310,7 +1310,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the theme to be installed.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorCode Error code for the error that occurred.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorMessage The error that occurred.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1376,7 +1376,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} args
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} args
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} args.slug Theme stylesheet.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {deleteThemeSuccess=} args.success Optional. Success callback. Default: wp.updates.deleteThemeSuccess
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {deleteThemeError=} args.error Optional. Error callback. Default: wp.updates.deleteThemeError
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1418,7 +1418,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the theme that was deleted.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> wp.updates.deleteThemeSuccess = function( response ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1476,7 +1476,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.slug Slug of the theme to be deleted.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorCode Error code for the error that occurred.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorMessage The error that occurred.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1531,9 +1531,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @private
</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} data Ajax payload.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} data Ajax payload.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} action The type of request to perform.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {object} The Ajax payload with the appropriate callbacks.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} The Ajax payload with the appropriate callbacks.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> wp.updates._addCallbacks = function( data, action ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'import' === pagenow && 'install-plugin' === action ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1725,7 +1725,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 {object} response Ajax response.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Ajax response.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} action The type of request to perform.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> wp.updates.credentialError = function( response, action ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1753,7 +1753,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorCode Error code for the error that occurred.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} response.errorMessage The error that occurred.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} action The type of request to perform.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1773,7 +1773,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * If the response deems to be invalid, an admin notice is being displayed.
</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|string)} response Response from the server.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {(Object|string)} response Response from the server.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {function=} response.always Optional. Callback for when the Deferred is resolved or rejected.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} response.statusText Optional. Status message corresponding to the status code.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string=} response.responseText Optional. Request response as text.
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/util.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,9 +56,9 @@
</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
</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
</ins><span class="cx" style="display: block; padding: 0 10px"> * to jQuery.ajax.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object=} data Optional. The data to populate $_POST with.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object=} data Optional. The data to populate $_POST with.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {$.promise} A jQuery promise that represents the request,
</span><span class="cx" style="display: block; padding: 0 10px"> * decorated with an abort() method.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -73,9 +73,9 @@
</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
</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
</ins><span class="cx" style="display: block; padding: 0 10px"> * to jQuery.ajax.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {object=} options Optional. The options passed to jQuery.ajax.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object=} options Optional. The options passed to jQuery.ajax.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {$.promise} A jQuery promise that represents the request,
</span><span class="cx" style="display: block; padding: 0 10px"> * decorated with an abort() method.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcjs_enqueueswputilswordcountjs"></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/utils/word-count.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/utils/word-count.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/utils/word-count.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,7 +38,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {RegExp} settings.shortcodesRegExp Optional. Regular expression to find shortcodes.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} settings.l10n Optional. Localization object containing specific
</span><span class="cx" style="display: block; padding: 0 10px"> * configuration for the current localization.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {String} settings.l10n.type Optional. Method of finding words to count.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} settings.l10n.type Optional. Method of finding words to count.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Array} settings.l10n.shortcodes Optional. Array of shortcodes that should be removed
</span><span class="cx" style="display: block; padding: 0 10px"> * from the text.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -148,10 +148,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @memberof wp.utils.wordcounter
</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} text Text to count elements in.
- * @param {String} type Optional. Specify type to use.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} text Text to count elements in.
+ * @param {string} type Optional. Specify type to use.
</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 {Number} The number of items counted.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {number} The number of items counted.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> WordCounter.prototype.count = function( text, type ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var count = 0;
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpwidgetscustomhtmljs"></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/widgets/custom-html.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/widgets/custom-html.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/widgets/custom-html.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -413,7 +413,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @alias wp.customHtmlWidgets.init
</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} settings - Options for code editor, exported from PHP.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} settings - Options for code editor, exported from PHP.
</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_enqueueswpwidgetsmediajs"></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/widgets/media.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/widgets/media.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/_enqueues/wp/widgets/media.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -100,7 +100,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 {object} options - Options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options - Options.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( options ) {
</span></span></pre></div>
<a id="trunksrcjsmediacontrollerslibraryjs"></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/controllers/library.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/controllers/library.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/media/controllers/library.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -191,7 +191,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.4.1
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {wp.media.model.Attachment} attachment
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> isImageAttachment: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // If uploading, we know the filename but not the mime type.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -208,7 +208,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {wp.media.model.Attachment} attachment
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> canEmbed: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // If uploading, we know the filename but not the mime type.
</span></span></pre></div>
<a id="trunksrcjsmediacontrollersregionjs"></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/controllers/region.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/controllers/region.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/media/controllers/region.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,7 +15,7 @@
</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 {object} options Options hash for the region.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options Options hash for the region.
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.id Unique identifier for the region.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Backbone.View} options.view A parent view the region exists within.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {string} options.selector jQuery selector for the region within the parent view.
</span></span></pre></div>
<a id="trunksrcjsmediamodelsattachmentsjs"></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/attachments.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/models/attachments.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/media/models/attachments.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,7 +87,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Backbone.Model} model
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param {Boolean} query
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {boolean} query
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> _changeQuery: function( model, query ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( query ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -147,7 +147,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Checks whether an attachment is valid.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {wp.media.model.Attachment} attachment
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> validator: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -190,7 +190,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Add or remove all attachments from another collection depending on each one's validity.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {wp.media.model.Attachments} attachments
</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"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @fires wp.media.model.Attachments#reset
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -314,7 +314,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * and forwards to its `more` method. This collection class doesn't have
</span><span class="cx" style="display: block; padding: 0 10px"> * server persistence by itself.
</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 class="lines" style="display: block; padding: 0 10px; color: #888">@@ -447,7 +447,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Backbone.Model} a
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Backbone.Model} b
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} options
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Number} -1 if the first model should come before the second,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {number} -1 if the first model should come before the second,
</ins><span class="cx" style="display: block; padding: 0 10px"> * 0 if they are of the same rank and
</span><span class="cx" style="display: block; padding: 0 10px"> * 1 if the first model should come after.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -501,7 +501,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @this wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> type: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var type = this.props.get('type'), atts = attachment.toJSON(), mime, found;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -528,7 +528,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @this wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> uploadedTo: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var uploadedTo = this.props.get('uploadedTo');
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -544,7 +544,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @this wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> status: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var status = this.props.get('status');
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/media/models/query.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,8 +22,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> Query = Attachments.extend(/** @lends wp.media.model.Query.prototype */{
</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} [models=[]] Array of initial models to populate the collection.
- * @param {object} [options={}]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Array} [models=[]] Array of initial models to populate the collection.
+ * @param {Object} [options={}]
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> initialize: function( models, options ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var allowed;
</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 class="lines" style="display: block; padding: 0 10px; color: #888">@@ -122,7 +122,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Overrides Backbone.Collection.sync
</span><span class="cx" style="display: block; padding: 0 10px"> * Overrides wp.media.model.Attachments.sync
</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} method
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {string} method
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param {Backbone.Model} model
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Object} [options={}]
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {Promise}
</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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/media/views/attachment.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -286,7 +286,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this[ this.selected() ? 'select' : 'deselect' ]();
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {unresolved|Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {unresolved|boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> selected: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var selection = this.options.selection;
</span></span></pre></div>
<a id="trunksrcjsmediaviewsfocusmanagerjs"></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/focus-manager.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/views/focus-manager.js 2020-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/media/views/focus-manager.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,7 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Initializes the Focus Manager.
</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 The Focus Manager options.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} options The Focus Manager options.
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,7 +35,7 @@
</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 {object} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -54,7 +54,7 @@
</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">- * @return {object} A jQuery collection of tabbable elements.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {Object} A jQuery collection of tabbable elements.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> getTabbables: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> // Skip the file input added by Plupload.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -114,7 +114,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.3
</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} visibleElement The jQuery object representing the element that should not be hidden.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} visibleElement The jQuery object representing the element that should not be hidden.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -171,7 +171,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 5.2.3
</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} element The DOM element that should be checked.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} element The DOM element that should be checked.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {boolean} Whether the element should not be hidden from assistive technologies.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -218,7 +218,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</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 {object} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -242,7 +242,7 @@
</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 {object} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -278,7 +278,7 @@
</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 {object} event jQuery event object.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} event jQuery event object.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return {void}
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -329,7 +329,7 @@
</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 {object} tab The tab DOM element.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param {Object} tab The tab DOM element.
</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="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-07-27 21:47:18 UTC (rev 48649)
+++ trunk/src/js/media/views/uploader/editor.js 2020-07-27 23:33:51 UTC (rev 48650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -64,7 +64,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Check browser support for drag'n'drop.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return {Boolean}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return {boolean}
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> browserSupport: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var supports = false, div = document.createElement('div');
</span></span></pre>
</div>
</div>
</body>
</html>