Fixed: deprecated element replaced

This commit is contained in:
yuriinalivaiko
2021-03-24 17:35:58 +02:00
parent 5fb10b8228
commit 0c55de1a86
3 changed files with 4 additions and 3 deletions
@@ -204,7 +204,8 @@ a.um-delete{ color: #a00; }
}
.um_hidden_notice,
.um_block_settings_hide {
.um_block_settings_hide,
.components-select-control.um_block_settings_hide{
display: none;
}
@@ -365,7 +365,7 @@ wp.blocks.registerBlockType( 'um-block/um-account', {
wp.i18n.__( 'Account', 'ultimate-member' )
),
wp.element.createElement(
wp.editor.InspectorControls,
wp.blockEditor.InspectorControls,
{},
wp.element.createElement(
wp.components.PanelBody,
+1 -1
View File
@@ -60,7 +60,7 @@ var um_block_restriction = wp.compose.createHigherOrderComponent( function( Bloc
{},
wp.element.createElement( BlockEdit, props ),
wp.element.createElement(
wp.editor.InspectorControls,
wp.blockEditor.InspectorControls,
{},
wp.element.createElement(
wp.components.PanelBody,