Update WordPress to latest trunk.

parent fb232e94
{
"name": "core/social-link",
"category": "widgets",
"icon": "share",
"attributes": {
"url": {
"type": "string"
......
......@@ -179,6 +179,9 @@
.wp-block-column.is-vertically-aligned-bottom {
align-self: flex-end; }
.wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
width: 100%; }
.wp-block-cover-image,
.wp-block-cover {
position: relative;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -182,6 +182,9 @@
.wp-block-column.is-vertically-aligned-bottom {
align-self: flex-end; }
.wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
width: 100%; }
.wp-block-cover-image,
.wp-block-cover {
position: relative;
......
......@@ -374,6 +374,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
100% {
transform: translateX(0%); } }
.block-editor-editor-skeleton__sidebar > div {
height: 100%; }
.edit-post-layout .editor-post-publish-panel__header-publish-button {
justify-content: center; }
......@@ -614,7 +617,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
.edit-post-sidebar {
z-index: auto;
height: 100%;
overflow: visible;
overflow: auto;
-webkit-overflow-scrolling: touch; } }
@media (min-width: 782px) {
.edit-post-sidebar {
......@@ -976,7 +979,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
height: 100%; }
.edit-post-visual-editor .block-editor-writing-flow__click-redirect {
min-height: 50vh;
min-height: 40vh;
width: 100%; }
.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -374,6 +374,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
100% {
transform: translateX(0%); } }
.block-editor-editor-skeleton__sidebar > div {
height: 100%; }
.edit-post-layout .editor-post-publish-panel__header-publish-button {
justify-content: center; }
......@@ -614,7 +617,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
.edit-post-sidebar {
z-index: auto;
height: 100%;
overflow: visible;
overflow: auto;
-webkit-overflow-scrolling: touch; } }
@media (min-width: 782px) {
.edit-post-sidebar {
......@@ -980,7 +983,7 @@ body.admin-color-light .edit-post-layout__toogle-publish-panel-button, body.admi
height: 100%; }
.edit-post-visual-editor .block-editor-writing-flow__click-redirect {
min-height: 50vh;
min-height: 40vh;
width: 100%; }
.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -54,6 +54,8 @@
.list-reusable-blocks__container {
display: inline-flex;
padding: 9px 0 4px;
align-items: center;
vertical-align: top; }
position: relative;
top: -3px; }
.list-reusable-blocks__container .components-button {
height: 26px; }
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;padding:9px 0 4px;align-items:center;vertical-align:top}
\ No newline at end of file
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}
\ No newline at end of file
......@@ -54,6 +54,8 @@
.list-reusable-blocks__container {
display: inline-flex;
padding: 9px 0 4px;
align-items: center;
vertical-align: top; }
position: relative;
top: -3px; }
.list-reusable-blocks__container .components-button {
height: 26px; }
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;padding:9px 0 4px;align-items:center;vertical-align:top}
\ No newline at end of file
.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}
\ No newline at end of file
......@@ -19172,7 +19172,7 @@ function (_Component) {
_this$props$onChangeI = _this$props.onChangeImage,
onChangeImage = _this$props$onChangeI === void 0 ? external_this_lodash_["noop"] : _this$props$onChangeI;
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !Object(external_this_lodash_["isEmpty"])(imageSizeOptions) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
label: Object(external_this_wp_i18n_["__"])('Image Size'),
label: Object(external_this_wp_i18n_["__"])('Image size'),
value: slug,
options: imageSizeOptions,
onChange: onChangeImage
......@@ -19180,7 +19180,7 @@ function (_Component) {
className: "block-editor-image-size-control"
}, Object(external_this_wp_element_["createElement"])("p", {
className: "block-editor-image-size-control__row"
}, Object(external_this_wp_i18n_["__"])('Image Dimensions')), Object(external_this_wp_element_["createElement"])("div", {
}, Object(external_this_wp_i18n_["__"])('Image dimensions')), Object(external_this_wp_element_["createElement"])("div", {
className: "block-editor-image-size-control__row"
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
type: "number",
......@@ -26220,8 +26220,8 @@ var withInspectorControl = Object(external_this_wp_compose_["createHigherOrderCo
if (hasAnchor && props.isSelected) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(BlockEdit, props), Object(external_this_wp_element_["createElement"])(inspector_advanced_controls, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
className: "html-anchor-control",
label: Object(external_this_wp_i18n_["__"])('HTML Anchor'),
help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
label: Object(external_this_wp_i18n_["__"])('HTML anchor'),
help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
href: 'https://wordpress.org/support/article/page-jumps/'
}, Object(external_this_wp_i18n_["__"])('Learn more about anchors'))),
value: props.attributes.anchor || '',
......@@ -26318,7 +26318,7 @@ var custom_class_name_withInspectorControl = Object(external_this_wp_compose_["c
if (hasCustomClassName && props.isSelected) {
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(BlockEdit, props), Object(external_this_wp_element_["createElement"])(inspector_advanced_controls, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
label: Object(external_this_wp_i18n_["__"])('Additional CSS Class(es)'),
label: Object(external_this_wp_i18n_["__"])('Additional CSS class(es)'),
value: props.attributes.className || '',
onChange: function onChange(nextValue) {
props.setAttributes({
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -28526,7 +28526,7 @@ function ColorPalette(_ref) {
buttonProps: {
'aria-label': Object(external_this_wp_i18n_["__"])('Custom color picker')
},
linkText: Object(external_this_wp_i18n_["__"])('Custom Color')
linkText: Object(external_this_wp_i18n_["__"])('Custom color')
}), !!clearable && Object(external_this_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, {
onClick: clearColor
}, Object(external_this_wp_i18n_["__"])('Clear')))
......@@ -34561,7 +34561,7 @@ function (_Component) {
}))))), Object(external_this_wp_element_["createElement"])("div", {
className: "components-focal-point-picker_position-display-container"
}, Object(external_this_wp_element_["createElement"])(base_control, {
label: Object(external_this_wp_i18n_["__"])('Horizontal Pos.'),
label: Object(external_this_wp_i18n_["__"])('Horizontal pos.'),
id: horizontalPositionId
}, Object(external_this_wp_element_["createElement"])("input", {
className: "components-text-control__input",
......@@ -34572,7 +34572,7 @@ function (_Component) {
type: "number",
value: this.fractionToPercentage(percentages.x)
}), Object(external_this_wp_element_["createElement"])("span", null, "%")), Object(external_this_wp_element_["createElement"])(base_control, {
label: Object(external_this_wp_i18n_["__"])('Vertical Pos.'),
label: Object(external_this_wp_i18n_["__"])('Vertical pos.'),
id: verticalPositionId
}, Object(external_this_wp_element_["createElement"])("input", {
className: "components-text-control__input",
......@@ -34916,11 +34916,11 @@ function FontSizePicker(_ref) {
className: "components-font-size-picker"
}, Object(external_this_wp_element_["createElement"])("legend", {
className: "screen-reader-text"
}, Object(external_this_wp_i18n_["__"])('Font Size')), Object(external_this_wp_element_["createElement"])("div", {
}, Object(external_this_wp_i18n_["__"])('Font size')), Object(external_this_wp_element_["createElement"])("div", {
className: "components-font-size-picker__controls"
}, fontSizes.length > 0 && Object(external_this_wp_element_["createElement"])(CustomSelectControl, {
className: 'components-font-size-picker__select',
label: Object(external_this_wp_i18n_["__"])('Preset Size'),
label: Object(external_this_wp_i18n_["__"])('Preset size'),
options: options,
value: options.find(function (option) {
return option.key === currentSelectValue;
......@@ -38879,10 +38879,10 @@ function QueryControls(_ref) {
label: Object(external_this_wp_i18n_["__"])('Order by'),
value: "".concat(orderBy, "/").concat(order),
options: [{
label: Object(external_this_wp_i18n_["__"])('Newest to Oldest'),
label: Object(external_this_wp_i18n_["__"])('Newest to oldest'),
value: 'date/desc'
}, {
label: Object(external_this_wp_i18n_["__"])('Oldest to Newest'),
label: Object(external_this_wp_i18n_["__"])('Oldest to newest'),
value: 'date/asc'
}, {
/* translators: label for ordering posts by title in ascending order */
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -481,7 +481,7 @@ var getFeaturedImageMediaFrame = function getFeaturedImageMediaFrame() {
/**
* Prepares the Gallery toolbars and frames.
*
* @return {wp.media.view.MediaFrame.Select} The default media workflow.
* @return {wp.media.view.MediaFrame.Post} The default media workflow.
*/
......@@ -493,7 +493,7 @@ var media_upload_getGalleryDetailsMediaFrame = function getGalleryDetailsMediaFr
* @class GalleryDetailsMediaFrame
* @class
*/
return wp.media.view.MediaFrame.Select.extend({
return wp.media.view.MediaFrame.Post.extend({
/**
* Set up gallery toolbar.
*
......
This diff is collapsed.
......@@ -41,7 +41,7 @@ require ABSPATH . WPINC . '/functions.wp-styles.php';
*
* @param WP_Scripts $scripts WP_Scripts object.
*/
function wp_register_tinymce_scripts( &$scripts, $force_uncompressed = false ) {
function wp_register_tinymce_scripts( $scripts, $force_uncompressed = false ) {
global $tinymce_version, $concatenate_scripts, $compress_scripts;
$suffix = wp_scripts_get_suffix();
$dev_suffix = wp_scripts_get_suffix( 'dev' );
......@@ -73,7 +73,7 @@ function wp_register_tinymce_scripts( &$scripts, $force_uncompressed = false ) {
*
* @param WP_Scripts $scripts WP_Scripts object.
*/
function wp_default_packages_vendor( &$scripts ) {
function wp_default_packages_vendor( $scripts ) {
global $wp_locale;
$suffix = wp_scripts_get_suffix();
......@@ -176,7 +176,7 @@ function wp_default_packages_vendor( &$scripts ) {
* @param array $tests Features to detect.
* @return string Conditional polyfill inline script.
*/
function wp_get_script_polyfill( &$scripts, $tests ) {
function wp_get_script_polyfill( $scripts, $tests ) {
$polyfill = '';
foreach ( $tests as $test => $handle ) {
if ( ! array_key_exists( $handle, $scripts->registered ) ) {
......@@ -228,7 +228,7 @@ function wp_get_script_polyfill( &$scripts, $tests ) {
*
* @param WP_Scripts $scripts WP_Scripts object.
*/
function wp_default_packages_scripts( &$scripts ) {
function wp_default_packages_scripts( $scripts ) {
$suffix = wp_scripts_get_suffix();
// Expects multidimensional array like:
......@@ -273,7 +273,7 @@ function wp_default_packages_scripts( &$scripts ) {
*
* @param WP_Scripts $scripts WP_Scripts object.
*/
function wp_default_packages_inline_scripts( &$scripts ) {
function wp_default_packages_inline_scripts( $scripts ) {
global $wp_locale;
if ( isset( $scripts->registered['wp-api-fetch'] ) ) {
......@@ -521,7 +521,7 @@ function wp_tinymce_inline_scripts() {
*
* @param WP_Scripts $scripts WP_Scripts object.
*/
function wp_default_packages( &$scripts ) {
function wp_default_packages( $scripts ) {
wp_default_packages_vendor( $scripts );
wp_register_tinymce_scripts( $scripts );
wp_default_packages_scripts( $scripts );
......@@ -580,7 +580,7 @@ function wp_scripts_get_suffix( $type = '' ) {
*
* @param WP_Scripts $scripts WP_Scripts object.
*/
function wp_default_scripts( &$scripts ) {
function wp_default_scripts( $scripts ) {
$suffix = wp_scripts_get_suffix();
$dev_suffix = wp_scripts_get_suffix( 'dev' );
$guessurl = site_url();
......@@ -1352,16 +1352,17 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'admin-gallery', "/wp-admin/js/gallery$suffix.js", array( 'jquery-ui-sortable' ) );
$scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), false, 1 );
$scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable', 'wp-a11y' ), false, 1 );
did_action( 'init' ) && $scripts->add_inline_script(
'admin-widgets',
sprintf(
'wpWidgets.l10n = %s;',
wp_json_encode(
array(
'save' => __( 'Save' ),
'saved' => __( 'Saved' ),
'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),
'save' => __( 'Save' ),
'saved' => __( 'Saved' ),
'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),
'widgetAdded' => __( 'Widget has been added to the selected sidebar' ),
)
)
)
......@@ -1614,7 +1615,7 @@ function wp_default_scripts( &$scripts ) {
*
* @param WP_Styles $styles
*/
function wp_default_styles( &$styles ) {
function wp_default_styles( $styles ) {
// Include an unmodified $wp_version.
require ABSPATH . WPINC . '/version.php';
......
......@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-beta2-47352';
$wp_version = '5.4-beta2-47355';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment