Skip to content

Commit

Permalink
Query: Fix deprecation error when migrating layout (WordPress#51311)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong authored and sethrubenstein committed Jul 13, 2023
1 parent e47775b commit 4fcf6f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/query/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ const migrateToConstrainedLayout = ( attributes ) => {
},
};
}

return attributes;
};

const findPostTemplateBlock = ( innerBlocks = [] ) => {
Expand Down

0 comments on commit 4fcf6f2

Please sign in to comment.