Skip to content

Commit

Permalink
Site Editor: Remove dead code (#37581)
Browse files Browse the repository at this point in the history
* Site Editor: Remove dead code

* Remove unused constants
  • Loading branch information
Mamaduka committed Dec 22, 2021
1 parent 2e5af3f commit a15e9f1
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 1,253 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,35 +51,20 @@ export const TEMPLATES_POSTS_PREFIXES = [

export const TEMPLATES_PAGES_PREFIXES = [ 'page-' ];

export const TEMPLATES_NEW_OPTIONS = [
'front-page',
'single-post',
'page',
'archive',
'search',
'404',
'index',
];

export const TEMPLATE_OVERRIDES = {
singular: [ 'single', 'page' ],
index: [ 'archive', '404', 'search', 'singular', 'home' ],
home: [ 'front-page' ],
};

export const MENU_ROOT = 'root';
export const MENU_CONTENT_CATEGORIES = 'content-categories';
export const MENU_CONTENT_PAGES = 'content-pages';
export const MENU_CONTENT_POSTS = 'content-posts';
export const MENU_TEMPLATE_PARTS = 'template-parts';
export const MENU_TEMPLATES = 'templates';
export const MENU_TEMPLATES_GENERAL = 'templates-general';
export const MENU_TEMPLATES_PAGES = 'templates-pages';
export const MENU_TEMPLATES_POSTS = 'templates-posts';
export const MENU_TEMPLATES_UNUSED = 'templates-unused';

export const SEARCH_DEBOUNCE_IN_MS = 75;

export const MENU_TEMPLATE_PARTS_HEADERS = 'template-parts-headers';
export const MENU_TEMPLATE_PARTS_FOOTERS = 'template-parts-footers';
export const MENU_TEMPLATE_PARTS_SIDEBARS = 'template-parts-sidebars';
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit a15e9f1

Please sign in to comment.