Skip to content

Commit

Permalink
Remove recommended plugins input from create panel
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Jun 22, 2023
1 parent f74ccb4 commit 2dee0be
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/editor-sidebar/create-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
Button,
TextControl,
TextareaControl,
ExternalLink,
} from '@wordpress/components';
import { chevronLeft, addCard, download, copy } from '@wordpress/icons';

Expand All @@ -33,7 +32,6 @@ export const CreateThemePanel = () => {
author: '',
author_uri: '',
tags_custom: '',
recommended_plugins: '',
} );

useSelect( ( select ) => {
Expand Down Expand Up @@ -210,24 +208,6 @@ export const CreateThemePanel = () => {
'create-block-theme'
) }
/>
<TextareaControl
label={ __( 'Recommended Plugins', 'create-block-theme' ) }
help={
<>
{ __(
'List the recommended plugins for this theme. e.g. contact forms, social media. Plugins must be from the WordPress.org plugin repository.'
) }
<br />
<ExternalLink href="https://make.wordpress.org/themes/handbook/review/required/#6-plugins">
{ __( 'Read more.' ) }
</ExternalLink>
</>
}
value={ theme.recommended_plugins }
onChange={ ( value ) =>
setTheme( { ...theme, recommended_plugins: value } )
}
/>
<TextControl
label={ __( 'Theme Subfolder', 'create-block-theme' ) }
value={ theme.subfolder }
Expand Down

0 comments on commit 2dee0be

Please sign in to comment.