Skip to content

Commit c67ffae

Browse files
committed
wip: start of fix block patterns after reproducing issue
1 parent 58db42f commit c67ffae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

php/class-delivery.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,15 @@ static function ( $tag_element ) {
202202
'__return_true'
203203
);
204204

205+
add_filter(
206+
'cloudinary_prepare_size',
207+
function ( $size ) {
208+
unset( $size['transformation'] );
209+
return $size;
210+
}
211+
);
212+
213+
// This is for patterns only, not for patterns in posts.
205214
if ( false === strpos( $route, 'wp/v2/blocks/' ) ) {
206215
add_filter(
207216
'cloudinary_tag_skip_classes',

0 commit comments

Comments
 (0)