Skip to content

Commit

Permalink
Fixes #19443. Moved welcome guide link to options modal dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
mapk committed Jan 7, 2020
1 parent 023c43e commit f2920da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions packages/edit-post/src/components/options-modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export function OptionsModal( { isModalActive, isViewable, closeModal } ) {
<Section title={ __( 'General' ) }>
<EnablePublishSidebarOption label={ __( 'Pre-publish checks' ) } />
<EnableFeature feature="showInserterHelpPanel" label={ __( 'Inserter help panel' ) } />
<EnableFeature feature="welcomeGuide" label={ __( 'Welcome guide' ) } />
</Section>
<Section title={ __( 'Document panels' ) }>
<EnablePluginDocumentSettingPanelOption.Slot />
Expand Down
2 changes: 0 additions & 2 deletions packages/edit-post/src/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import CopyContentMenuItem from './copy-content-menu-item';
import ManageBlocksMenuItem from './manage-blocks-menu-item';
import KeyboardShortcutsHelpMenuItem from './keyboard-shortcuts-help-menu-item';
import ToolsMoreMenuGroup from '../components/header/tools-more-menu-group';
import WelcomeGuideMenuItem from './welcome-guide-menu-item';

registerPlugin( 'edit-post', {
render() {
Expand All @@ -30,7 +29,6 @@ registerPlugin( 'edit-post', {
{ __( 'Manage all reusable blocks' ) }
</MenuItem>
<KeyboardShortcutsHelpMenuItem onSelect={ onClose } />
<WelcomeGuideMenuItem />
<CopyContentMenuItem />
<MenuItem
role="menuitem"
Expand Down

0 comments on commit f2920da

Please sign in to comment.