Skip to content

Commit

Permalink
Add missing blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed May 21, 2020
1 parent 1d92391 commit 446d52c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ function gutenberg_reregister_core_block_types() {
'audio',
'button',
'buttons',
'classic',
'code',
'column',
'columns',
'file',
'gallery',
'group',
Expand All @@ -44,6 +48,7 @@ function gutenberg_reregister_core_block_types() {
'text-columns',
'verse',
'video',
'widget-area',
);

$block_names = array(
Expand All @@ -67,16 +72,16 @@ function gutenberg_reregister_core_block_types() {
$block_names = array_merge(
$block_names,
array(
'post-title.php' => 'core/post-title',
'post-content.php' => 'core/post-content',
'post-author.php' => 'core/post-author',
'post-comments.php' => 'core/post-comments',
'post-comments-count.php' => 'core/post-comments-count',
'post-comments-form.php' => 'core/post-comments-form',
'post-content.php' => 'core/post-content',
'post-date.php' => 'core/post-date',
'post-excerpt.php' => 'core/post-excerpt',
'post-featured-image.php' => 'core/post-featured-image',
'post-tags.php' => 'core/post-tags',
'post-title.php' => 'core/post-title',
'query.php' => 'core/query',
'query-loop.php' => 'core/query-loop',
'query-pagination.php' => 'core/query-pagination',
Expand Down

0 comments on commit 446d52c

Please sign in to comment.