From 1512a8275e4958f012238c72a26c6615ec20060f Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 4 May 2021 09:05:23 +0100 Subject: [PATCH] Stabilize some theme blocks for WP 5.8 release (#31423) --- packages/block-library/src/index.js | 36 ++++++++++++++++------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/packages/block-library/src/index.js b/packages/block-library/src/index.js index 22b4385b9a806c..affbf16def4c76 100644 --- a/packages/block-library/src/index.js +++ b/packages/block-library/src/index.js @@ -167,6 +167,26 @@ export const __experimentalGetCoreBlocks = () => [ textColumns, verse, video, + + // Theme blocks + siteLogo, + siteTagline, + siteTitle, + + query, + queryLoop, + queryTitle, + queryPagination, + queryPaginationNext, + queryPaginationNumbers, + queryPaginationPrevious, + + postTitle, + postContent, + postAuthor, + postDate, + postExcerpt, + postFeaturedImage, ]; /** @@ -218,21 +238,8 @@ export const __experimentalRegisterExperimentalCoreBlocks = // Register Full Site Editing Blocks. ...( enableFSEBlocks ? [ - siteLogo, - siteTagline, - siteTitle, templatePart, - query, - queryLoop, - queryTitle, - queryPagination, - queryPaginationNext, - queryPaginationNumbers, - queryPaginationPrevious, logInOut, - postTitle, - postContent, - postAuthor, postComment, postCommentAuthor, postCommentContent, @@ -241,9 +248,6 @@ export const __experimentalRegisterExperimentalCoreBlocks = postCommentsCount, postCommentsForm, postCommentsLink, - postDate, - postExcerpt, - postFeaturedImage, postHierarchicalTerms, postTags, postNavigationLink,