Skip to content

Commit

Permalink
Update todo comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias committed Mar 19, 2021
1 parent 352f409 commit 1d82324
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,12 @@ function gutenberg_register_legacy_social_link_blocks() {

add_action( 'init', 'gutenberg_register_legacy_social_link_blocks' );

// todo: move to trac ticket
/**
* Filters the default block categories array to add a new one for themes.
* Should be removed and turned into a core.trac ticket for merge.
*
* @param array $categories The list of default block categories.
*/
function gutenberg_register_theme_block_category( $categories ) {
$categories[] = array(
'slug' => 'theme',
Expand Down

0 comments on commit 1d82324

Please sign in to comment.