From 3e63af1946f0dcb5cedaecc002fa573f2032bb8c Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Tue, 20 Sep 2022 12:14:29 +0300 Subject: [PATCH] [Block Library]: Rename Comments pagination inner blocks (#44287) This PR renames the inner blocks of Comments Pagination to make them distinguishable from the Query Pagination ones, in places we list them all like the Global Styles block list. We've added the `Comments` prefix to be consistent with the `Comment Pagination`. --- docs/reference-guides/core-blocks.md | 6 +++--- .../block-library/src/comments-pagination-next/block.json | 2 +- .../src/comments-pagination-numbers/block.json | 2 +- .../src/comments-pagination-previous/block.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 21b2c3012a79a..ff1ca11dd0ae0 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -188,7 +188,7 @@ Displays a paginated navigation to next/previous set of comments, when applicabl - **Supports:** align, color (background, gradients, link, text), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** paginationArrow -## Next Page +## Comments Next Page Displays the next comment's page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-next)) @@ -197,7 +197,7 @@ Displays the next comment's page link. ([Source](https://github.com/WordPress/gu - **Supports:** color (background, gradients, ~~text~~), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** label -## Page Numbers +## Comments Page Numbers Displays a list of page numbers for comments pagination. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-numbers)) @@ -206,7 +206,7 @@ Displays a list of page numbers for comments pagination. ([Source](https://githu - **Supports:** typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** -## Previous Page +## Comments Previous Page Displays the previous comment's page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-previous)) diff --git a/packages/block-library/src/comments-pagination-next/block.json b/packages/block-library/src/comments-pagination-next/block.json index 128e08128dca8..48da9495bff62 100644 --- a/packages/block-library/src/comments-pagination-next/block.json +++ b/packages/block-library/src/comments-pagination-next/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "name": "core/comments-pagination-next", - "title": "Next Page", + "title": "Comments Next Page", "category": "theme", "parent": [ "core/comments-pagination" ], "description": "Displays the next comment's page link.", diff --git a/packages/block-library/src/comments-pagination-numbers/block.json b/packages/block-library/src/comments-pagination-numbers/block.json index e84aff63b043f..97a0649a7a4c1 100644 --- a/packages/block-library/src/comments-pagination-numbers/block.json +++ b/packages/block-library/src/comments-pagination-numbers/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "name": "core/comments-pagination-numbers", - "title": "Page Numbers", + "title": "Comments Page Numbers", "category": "theme", "parent": [ "core/comments-pagination" ], "description": "Displays a list of page numbers for comments pagination.", diff --git a/packages/block-library/src/comments-pagination-previous/block.json b/packages/block-library/src/comments-pagination-previous/block.json index 9fb2960b9d1e1..a48782af29760 100644 --- a/packages/block-library/src/comments-pagination-previous/block.json +++ b/packages/block-library/src/comments-pagination-previous/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "name": "core/comments-pagination-previous", - "title": "Previous Page", + "title": "Comments Previous Page", "category": "theme", "parent": [ "core/comments-pagination" ], "description": "Displays the previous comment's page link.",