Skip to content

Commit

Permalink
Fix comment 😅
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jun 28, 2020
1 parent a410427 commit 82bea1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/template-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ function gutenberg_template_loader_filter_block_editor_settings( $settings ) {
}

// If this is the Site Editor, auto-drafts for template parts have already been generated
// through `gutenberg_find_template_post_and_parts`, when called through `filter_rest_wp_template_part_query`.
// through `filter_rest_wp_template_part_query`, when called via the REST API.
if ( isset( $settings['editSiteInitialState'] ) ) {
return $settings;
}
Expand Down

0 comments on commit 82bea1b

Please sign in to comment.