Skip to content

Commit

Permalink
Remove homeId and homeTemplateId
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed May 20, 2020
1 parent 01adbb1 commit 72d292a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/edit-site-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ function gutenberg_edit_site_init( $hook ) {
$current_template_id = $template_ids['front-page'];

$settings['templateId'] = $current_template_id;
$settings['homeTemplateId'] = $current_template_id;
$settings['templateType'] = 'wp_template';
$settings['templateIds'] = array_values( $template_ids );
$settings['templatePartIds'] = array_values( $template_part_ids );
Expand Down
1 change: 0 additions & 1 deletion packages/edit-site/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export default function Header( { openEntitiesSavedStates } ) {
ids={ settings.templateIds }
templatePartIds={ settings.templatePartIds }
activeId={ settings.templateId }
homeId={ settings.homeTemplateId }
isTemplatePart={
settings.templateType === 'wp_template_part'
}
Expand Down

0 comments on commit 72d292a

Please sign in to comment.