From e43a6a720c9fadc2ec9954560154338c445c34a8 Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Wed, 17 Nov 2021 15:03:32 +1300 Subject: [PATCH] Fix potential issue with attributes not being returned from v6 deprecation --- packages/block-library/src/gallery/deprecated.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/gallery/deprecated.js b/packages/block-library/src/gallery/deprecated.js index 6c4150d9419b5d..001bbba8ea8366 100644 --- a/packages/block-library/src/gallery/deprecated.js +++ b/packages/block-library/src/gallery/deprecated.js @@ -743,6 +743,7 @@ const v3 = { if ( isGalleryV2Enabled() ) { return runV2Migration( attributes ); } + return attributes; }, }; const v2 = {