Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
better-wp-security
/
core
/
modules
/
core
/
entries
/
profile-block
:
edit.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * WordPress dependencies */ import { useBlockProps, BlockIcon } from '@wordpress/block-editor'; import { Placeholder } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { getBlockType } from '@wordpress/blocks'; export default function Edit( { name } ) { const { icon, title } = getBlockType( name ); return ( <div { ...useBlockProps() }> <Placeholder icon={ <BlockIcon icon={ icon } showColors /> } label={ title } instructions={ __( 'Users can adjust their User Security profile settings. This block does not provide any controls.', 'better-wp-security' ) } /> </div> ); }