Editor: Update block editor dependencies for 5.6.2.

This updates several packages to their latest patch versions to fix bugs discovered in the 5.6 branch.

`@wordpress/block-directory` to `1.17.8`
`@wordpress/block-editor` to `5.1.7`
`@wordpress/block-library` to `2.26.8`
`@wordpress/components` to `11.1.5`
`@wordpress/core-data` to `2.24.4`
`@wordpress/edit-post` to `3.25.8`
`@wordpress/editor` to `9.24.7`
`@wordpress/format-library` to `1.25.7`
`@wordpress/list-reusable-blocks` to `1.24.5`
`@wordpress/media-utils` to `1.18.1`
`@wordpress/nux` to `3.23.5`
`@wordpress/reusable-blocks` to `1.0.7`
`@wordpress/server-side-render` to `1.19.5`

Props isabel_brison, talldanwp, youknowriad, freewebmentor, sterndata, inc2734, itsjonq, jorgefilipecosta, aristath, nosolosw, mattwiebe, addiestavlo, kevin940726, noisysocks, aaronrobertshaw, glendaviesnz, gwwar, bernhard-reiter, paaljoachim.
Fixes #52396, #52449, #52553.
Built from https://develop.svn.wordpress.org/branches/5.6@50376


git-svn-id: http://core.svn.wordpress.org/branches/5.6@49987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-02-17 14:16:26 +00:00
parent 757e0dc15b
commit be0f960323
32 changed files with 115 additions and 87 deletions

File diff suppressed because one or more lines are too long

View File

@ -1609,7 +1609,8 @@
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
display: block;
margin-bottom: 0.2em;
font-weight: 500; }
font-weight: 500;
position: relative; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
font-weight: 700;
color: #000;
@ -2334,7 +2335,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
.block-editor-block-toolbar__slot {
display: inline-block;
line-height: 0; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.block-editor-block-toolbar__slot {
display: inline-flex; } }
@ -2436,7 +2437,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
.block-editor-inserter__search {
padding: 16px;
position: -webkit-sticky;
position: sticky;
top: 0;
background: #fff;
@ -2517,7 +2517,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
flex-direction: column;
margin-top: -8px; }
.block-editor-inserter__tabs .components-tab-panel__tabs {
position: -webkit-sticky;
position: sticky;
top: 72px;
background: #fff;
@ -2631,7 +2630,8 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
.block-editor-inserter__tips {
border-top: 1px solid #ddd;
padding: 16px;
flex-shrink: 0; }
flex-shrink: 0;
position: relative; }
.block-editor-inserter__manage-reusable-blocks-container {
padding: 16px; }

File diff suppressed because one or more lines are too long

View File

@ -1613,7 +1613,8 @@
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
display: block;
margin-bottom: 0.2em;
font-weight: 500; }
font-weight: 500;
position: relative; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
font-weight: 700;
color: #000;
@ -2338,7 +2339,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
.block-editor-block-toolbar__slot {
display: inline-block;
line-height: 0; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.block-editor-block-toolbar__slot {
display: inline-flex; } }
@ -2440,7 +2441,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
.block-editor-inserter__search {
padding: 16px;
position: -webkit-sticky;
position: sticky;
top: 0;
background: #fff;
@ -2521,7 +2521,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
flex-direction: column;
margin-top: -8px; }
.block-editor-inserter__tabs .components-tab-panel__tabs {
position: -webkit-sticky;
position: sticky;
top: 72px;
background: #fff;
@ -2635,7 +2634,8 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
.block-editor-inserter__tips {
border-top: 1px solid #ddd;
padding: 16px;
flex-shrink: 0; }
flex-shrink: 0;
position: relative; }
.block-editor-inserter__manage-reusable-blocks-container {
padding: 16px; }

File diff suppressed because one or more lines are too long

View File

@ -481,7 +481,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
display: none;
width: auto;
margin: 0;
position: -webkit-sticky;
position: sticky;
z-index: 31;
top: 0;

File diff suppressed because one or more lines are too long

View File

@ -486,7 +486,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
display: none;
width: auto;
margin: 0;
position: -webkit-sticky;
position: sticky;
z-index: 31;
top: 0;

File diff suppressed because one or more lines are too long

View File

@ -340,7 +340,7 @@
content: "";
font-size: 0;
min-height: inherit; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-cover-image::after,
.wp-block-cover::after {
content: none; } }
@ -420,7 +420,8 @@
width: 100%;
height: 100%;
z-index: 0;
object-fit: cover; }
-o-object-fit: cover;
object-fit: cover; }
section.wp-block-cover-image h2,
.wp-block-cover-image-text,
@ -580,7 +581,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid .blocks-gallery-item figure {
margin: 0;
height: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure,
.blocks-gallery-grid .blocks-gallery-image figure,
@ -596,7 +597,7 @@ section.wp-block-cover-image > h2,
max-width: 100%;
height: auto;
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image img,
.wp-block-gallery .blocks-gallery-item img,
.blocks-gallery-grid .blocks-gallery-image img,
@ -635,7 +636,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
@ -646,7 +647,8 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
height: 100%;
flex: 1;
object-fit: cover; } }
-o-object-fit: cover;
object-fit: cover; } }
.wp-block-gallery.columns-1 .blocks-gallery-image,
.wp-block-gallery.columns-1 .blocks-gallery-item,
.blocks-gallery-grid.columns-1 .blocks-gallery-image,
@ -1712,9 +1714,10 @@ p.wp-block-subhead {
margin-left: 0; }
.wp-block-video video {
max-width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-video [poster] {
object-fit: cover; } }
-o-object-fit: cover;
object-fit: cover; } }
.wp-block-video.aligncenter {
text-align: center; }
.wp-block-video figcaption {

File diff suppressed because one or more lines are too long

View File

@ -347,7 +347,7 @@
content: "";
font-size: 0;
min-height: inherit; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-cover-image::after,
.wp-block-cover::after {
content: none; } }
@ -427,7 +427,8 @@
width: 100%;
height: 100%;
z-index: 0;
object-fit: cover; }
-o-object-fit: cover;
object-fit: cover; }
section.wp-block-cover-image h2,
.wp-block-cover-image-text,
@ -588,7 +589,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid .blocks-gallery-item figure {
margin: 0;
height: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure,
.blocks-gallery-grid .blocks-gallery-image figure,
@ -604,7 +605,7 @@ section.wp-block-cover-image > h2,
max-width: 100%;
height: auto;
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image img,
.wp-block-gallery .blocks-gallery-item img,
.blocks-gallery-grid .blocks-gallery-image img,
@ -643,7 +644,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
@ -654,7 +655,8 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
height: 100%;
flex: 1;
object-fit: cover; } }
-o-object-fit: cover;
object-fit: cover; } }
.wp-block-gallery.columns-1 .blocks-gallery-image,
.wp-block-gallery.columns-1 .blocks-gallery-item,
.blocks-gallery-grid.columns-1 .blocks-gallery-image,
@ -1741,9 +1743,10 @@ p.wp-block-subhead {
margin-right: 0; }
.wp-block-video video {
max-width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-video [poster] {
object-fit: cover; } }
-o-object-fit: cover;
object-fit: cover; } }
.wp-block-video.aligncenter {
text-align: center; }
.wp-block-video figcaption {

File diff suppressed because one or more lines are too long

View File

@ -388,7 +388,6 @@
width: 24px;
height: 24px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
transition: 0.1s border-color ease-in-out; }
@media (prefers-reduced-motion: reduce) {
@ -2756,7 +2755,6 @@ body.is-dragging-components-draggable {
height: 60px;
z-index: 10;
position: relative;
position: -webkit-sticky;
position: sticky;
top: 0;
margin: 0 -24px 24px; }
@ -2991,7 +2989,7 @@ body.is-dragging-components-draggable {
background-color: #fff;
box-shadow: inset 0 0 0 1px #1e1e1e;
outline: 1px solid transparent; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.components-placeholder.components-placeholder {
display: flex;
flex-direction: column;
@ -3956,7 +3954,7 @@ body.lockscroll {
div.components-toolbar > div {
display: block;
margin: 0; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
div.components-toolbar > div {
display: flex; } }

File diff suppressed because one or more lines are too long

View File

@ -388,7 +388,6 @@
width: 24px;
height: 24px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
transition: 0.1s border-color ease-in-out; }
@media (prefers-reduced-motion: reduce) {
@ -2765,7 +2764,6 @@ body.is-dragging-components-draggable {
height: 60px;
z-index: 10;
position: relative;
position: -webkit-sticky;
position: sticky;
top: 0;
margin: 0 -24px 24px; }
@ -3002,7 +3000,7 @@ body.is-dragging-components-draggable {
background-color: #fff;
box-shadow: inset 0 0 0 1px #1e1e1e;
outline: 1px solid transparent; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.components-placeholder.components-placeholder {
display: flex;
flex-direction: column;
@ -3977,7 +3975,7 @@ body.lockscroll {
div.components-toolbar > div {
display: block;
margin: 0; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
div.components-toolbar > div {
display: flex; } }

File diff suppressed because one or more lines are too long

View File

@ -271,8 +271,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
@media (min-width: 782px) {
.interface-interface-skeleton__left-sidebar {
border-left: 1px solid #e0e0e0;
overflow: hidden; } }
border-left: 1px solid #e0e0e0; } }
.interface-interface-skeleton__header {
flex-shrink: 0;
@ -280,7 +279,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
border-bottom: 1px solid #e0e0e0;
z-index: 30;
color: #1e1e1e;
position: -webkit-sticky;
position: sticky;
top: 0; }
@media (min-width: 600px) {
@ -347,7 +345,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
flex-wrap: nowrap; } }
.edit-post-header > .edit-post-header__settings {
order: 1; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-header > .edit-post-header__settings {
order: initial; } }
@ -937,7 +935,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
margin: 0 0 2rem 0; }
.edit-post-manage-blocks-modal__category-title {
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 16px 0;
@ -1124,7 +1121,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
.editor-post-author__select {
margin: -5px 0;
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.editor-post-author__select {
width: auto; } }
@ -1274,7 +1271,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
padding: 0 24px 24px 24px; } }
.edit-post-text-editor__toolbar {
position: -webkit-sticky;
position: sticky;
z-index: 1;
top: 0;
@ -1308,7 +1304,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
padding: 6px 12px; }
.edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon {
padding: 6px; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-visual-editor {
flex-basis: 100%; } }

File diff suppressed because one or more lines are too long

View File

@ -271,8 +271,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
@media (min-width: 782px) {
.interface-interface-skeleton__left-sidebar {
border-right: 1px solid #e0e0e0;
overflow: hidden; } }
border-right: 1px solid #e0e0e0; } }
.interface-interface-skeleton__header {
flex-shrink: 0;
@ -280,7 +279,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
border-bottom: 1px solid #e0e0e0;
z-index: 30;
color: #1e1e1e;
position: -webkit-sticky;
position: sticky;
top: 0; }
@media (min-width: 600px) {
@ -347,7 +345,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
flex-wrap: nowrap; } }
.edit-post-header > .edit-post-header__settings {
order: 1; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-header > .edit-post-header__settings {
order: initial; } }
@ -937,7 +935,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
margin: 0 0 2rem 0; }
.edit-post-manage-blocks-modal__category-title {
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 16px 0;
@ -1124,7 +1121,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
.editor-post-author__select {
margin: -5px 0;
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.editor-post-author__select {
width: auto; } }
@ -1278,7 +1275,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
padding: 0 24px 24px 24px; } }
.edit-post-text-editor__toolbar {
position: -webkit-sticky;
position: sticky;
z-index: 1;
top: 0;
@ -1312,7 +1308,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
padding: 6px 12px; }
.edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon {
padding: 6px; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-visual-editor {
flex-basis: 100%; } }

File diff suppressed because one or more lines are too long

View File

@ -161,7 +161,6 @@
padding: 1px 0; }
.components-editor-notices__dismissible {
position: -webkit-sticky;
position: sticky;
top: 0;
left: 0;

File diff suppressed because one or more lines are too long

View File

@ -161,7 +161,6 @@
padding: 1px 0; }
.components-editor-notices__dismissible {
position: -webkit-sticky;
position: sticky;
top: 0;
right: 0;

File diff suppressed because one or more lines are too long

View File

@ -25907,7 +25907,7 @@ function getParsedValue(value, unit, units) {
* @return {boolean} Whether units are defined.
*/
function hasUnits(units) {
function utils_hasUnits(units) {
return !Object(external_this_lodash_["isEmpty"])(units) && units.length > 1 && units !== false;
}
/**
@ -25927,7 +25927,7 @@ function parseUnit(initialValue) {
var unit = unitMatch !== undefined ? unitMatch : '';
unit = unit.toLowerCase();
if (hasUnits(units)) {
if (utils_hasUnits(units)) {
var match = units.find(function (item) {
return item.value === unit;
});
@ -25968,7 +25968,7 @@ function getValidParsedUnit(next, units, fallbackValue, fallbackUnit) {
* of units as a default fallback.
*/
if (hasUnits(units) && !baseUnit) {
if (utils_hasUnits(units) && !baseUnit) {
var _units$;
baseUnit = (_units$ = units[0]) === null || _units$ === void 0 ? void 0 : _units$.value;
@ -26020,7 +26020,7 @@ function UnitSelectControl(_ref) {
value = _ref$value === void 0 ? 'px' : _ref$value,
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "isTabbable", "options", "onChange", "size", "value"]);
if (!hasUnits(options)) {
if (!utils_hasUnits(options)) {
return Object(external_this_wp_element_["createElement"])(UnitLabel, {
className: "components-unit-control__unit-label",
size: size
@ -39090,6 +39090,10 @@ var range_control_ForwardedComponent = Object(external_this_wp_element_["forward
/**
* External dependencies
*/
/**
* WordPress dependencies
*/
@ -39097,6 +39101,7 @@ var range_control_ForwardedComponent = Object(external_this_wp_element_["forward
/**
* Internal dependencies
*/
@ -39112,7 +39117,7 @@ var MAX_FONT_SIZE_DISPLAY = '25px';
function getSelectValueFromFontSize(fontSizes, value) {
if (value) {
var fontSizeValue = fontSizes.find(function (font) {
return font.size === Number(value);
return font.size === value;
});
return fontSizeValue ? fontSizeValue.slug : CUSTOM_FONT_SIZE;
}
@ -39154,6 +39159,16 @@ function FontSizePicker(_ref) {
value = _ref.value,
_ref$withSlider = _ref.withSlider,
withSlider = _ref$withSlider === void 0 ? false : _ref$withSlider;
var hasUnits = Object(external_this_lodash_["isString"])(value) || fontSizes[0] && Object(external_this_lodash_["isString"])(fontSizes[0].size);
var noUnitsValue;
if (!hasUnits) {
noUnitsValue = value;
} else {
noUnitsValue = parseInt(value);
}
var isPixelValue = Object(external_this_lodash_["isNumber"])(value) || Object(external_this_lodash_["isString"])(value) && value.endsWith('px');
var instanceId = Object(external_this_wp_compose_["useInstanceId"])(FontSizePicker);
var options = Object(external_this_wp_element_["useMemo"])(function () {
return getSelectOptions(fontSizes, disableCustomFontSizes);
@ -39180,9 +39195,12 @@ function FontSizePicker(_ref) {
}),
onChange: function onChange(_ref2) {
var selectedItem = _ref2.selectedItem;
var selectedValue = selectedItem.style && selectedItem.style.fontSize;
_onChange(Number(selectedValue));
if (hasUnits) {
_onChange(selectedItem.size);
} else {
_onChange(Number(selectedItem.size));
}
}
}), !withSlider && !disableCustomFontSizes && Object(external_this_wp_element_["createElement"])("div", {
className: "components-font-size-picker__number-container"
@ -39194,10 +39212,14 @@ function FontSizePicker(_ref) {
type: "number",
min: 1,
onChange: function onChange(event) {
_onChange(Number(event.target.value));
if (hasUnits) {
_onChange(event.target.value + 'px');
} else {
_onChange(Number(event.target.value));
}
},
"aria-label": Object(external_this_wp_i18n_["__"])('Custom'),
value: value || ''
value: isPixelValue && noUnitsValue || ''
})), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], {
className: "components-color-palette__clear",
disabled: value === undefined,
@ -39209,10 +39231,10 @@ function FontSizePicker(_ref) {
}, Object(external_this_wp_i18n_["__"])('Reset'))), withSlider && Object(external_this_wp_element_["createElement"])(range_control, {
className: "components-font-size-picker__custom-input",
label: Object(external_this_wp_i18n_["__"])('Custom Size'),
value: value || '',
value: isPixelValue && noUnitsValue || '',
initialPosition: fallbackFontSize,
onChange: function onChange(newValue) {
_onChange(newValue);
_onChange(hasUnits ? newValue + 'px' : newValue);
},
min: 12,
max: 100,

File diff suppressed because one or more lines are too long

View File

@ -3450,6 +3450,17 @@ function selectors_objectSpread(target) { for (var i = 1; i < arguments.length;
/**
* Shared reference to an empty array for cases where it is important to avoid
* returning a new array reference on every invocation, as in a connected or
* other pure component which performs `shouldComponentUpdate` check on props.
* This should be used as a last resort, since the normalized data should be
* maintained by the reducer result in state.
*
* @type {Array}
*/
var EMPTY_ARRAY = [];
/**
* Returns true if a request is in progress for embed preview data, or false
* otherwise.
@ -3667,7 +3678,7 @@ function getEntityRecords(state, kind, name, query) {
var queriedState = Object(external_this_lodash_["get"])(state.entities.data, [kind, name, 'queriedData']);
if (!queriedState) {
return [];
return EMPTY_ARRAY;
}
return getQueriedItems(queriedState, query);

File diff suppressed because one or more lines are too long

View File

@ -895,9 +895,14 @@ var media_upload_MediaUpload = /*#__PURE__*/function (_Component) {
}, {
key: "onOpen",
value: function onOpen() {
this.updateCollection();
var _this$props$value2;
if (!this.props.value) {
this.updateCollection(); // Handle both this.props.value being either (number[]) multiple ids
// (for galleries) or a (number) singular id (e.g. image block).
var hasMedia = Array.isArray(this.props.value) ? !!((_this$props$value2 = this.props.value) === null || _this$props$value2 === void 0 ? void 0 : _this$props$value2.length) : !!this.props.value;
if (!hasMedia) {
return;
}

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6.2-alpha-50366';
$wp_version = '5.6.2-alpha-50376';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.