Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/many-garlics-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wpengine/wp-graphql-content-blocks": patch
---

Fix: reverts CoreImage block width type introduced at this [PR](https://github.com/wpengine/wp-graphql-content-blocks/pull)
3 changes: 1 addition & 2 deletions includes/Blocks/CoreImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class CoreImage extends Block {
'source' => 'attribute',
'attribute' => 'src',
],
'width' => [ 'type' => 'string' ],
];

/**
Expand All @@ -43,7 +42,7 @@ class CoreImage extends Block {
*/
public function __construct( WP_Block_Type $block, Registry $block_registry ) {
parent::__construct( $block, $block_registry );

register_graphql_field(
$this->type_name,
'mediaDetails',
Expand Down