Skip to content

Commit

Permalink
Add context property mapping to block registration (#23180)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen committed Jun 16, 2020
1 parent b83f948 commit 23433a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ function register_block_type_from_metadata( $file_or_folder, $args = array() ) {
$property_mappings = array(
'title' => 'title',
'category' => 'category',
'context' => 'context',
'parent' => 'parent',
'icon' => 'icon',
'description' => 'description',
Expand Down

0 comments on commit 23433a6

Please sign in to comment.