diff --git a/lib/compat.php b/lib/compat.php index 202c1345c2a8aa..603423c9e38a48 100644 --- a/lib/compat.php +++ b/lib/compat.php @@ -167,17 +167,18 @@ function register_block_type_from_metadata( $file_or_folder, $args = array() ) { $settings = array(); $property_mappings = array( - 'title' => 'title', - 'category' => 'category', - 'context' => 'context', - 'parent' => 'parent', - 'icon' => 'icon', - 'description' => 'description', - 'keywords' => 'keywords', - 'attributes' => 'attributes', - 'supports' => 'supports', - 'styles' => 'styles', - 'example' => 'example', + 'title' => 'title', + 'category' => 'category', + 'context' => 'context', + 'providesContext' => 'providesContext', + 'parent' => 'parent', + 'icon' => 'icon', + 'description' => 'description', + 'keywords' => 'keywords', + 'attributes' => 'attributes', + 'supports' => 'supports', + 'styles' => 'styles', + 'example' => 'example', ); foreach ( $property_mappings as $key => $mapped_key ) {