Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment blocks: Update block descriptions #39735

Merged
merged 2 commits into from
Mar 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Display content in multiple columns, with blocks added to each column. ([Source]

## Comment Author Avatar

Add the avatar of this comment's author. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-author-avatar))
Displays the avatar of the comment's author. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-author-avatar))

- **Name:** core/comment-author-avatar
- **Category:** theme
Expand All @@ -118,7 +118,7 @@ Add the avatar of this comment's author. ([Source](https://github.com/WordPress/

## Comment Author Name

Add the author name of this comment. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-author-name))
Displays the name of the author of the comment. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-author-name))

- **Name:** core/comment-author-name
- **Category:** theme
Expand All @@ -136,7 +136,7 @@ Displays the contents of a comment. ([Source](https://github.com/WordPress/guten

## Comment Date

Add the date of this comment. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-date))
Displays the date on which the comment was posted. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-date))

- **Name:** core/comment-date
- **Category:** theme
Expand All @@ -163,7 +163,7 @@ Displays a link to reply to a comment. ([Source](https://github.com/WordPress/gu

## Comment Template

Contains the block elements used to render a comment, like the title, date, author, avatar and more. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-template))
Contains the block elements used to display a comment, like the title, date, author, avatar and more. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comment-template))

- **Name:** core/comment-template
- **Category:** design
Expand All @@ -181,7 +181,7 @@ Displays a paginated navigation to next/previous set of comments, when applicabl

## Next Page

Displays the next comments page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-next))
Displays the next comment's page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-next))

- **Name:** core/comments-pagination-next
- **Category:** theme
Expand All @@ -199,7 +199,7 @@ Displays a list of page numbers for comments pagination. ([Source](https://githu

## Previous Page

Displays the previous comments page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-previous))
Displays the previous comment's page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-previous))

- **Name:** core/comments-pagination-previous
- **Category:** theme
Expand All @@ -208,7 +208,7 @@ Displays the previous comments page link. ([Source](https://github.com/WordPress

## Comments Query Loop

An advanced block that allows displaying post comments based on different query parameters and visual configurations. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-query-loop))
An advanced block that allows displaying post comments using different visual configurations. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-query-loop))

- **Name:** core/comments-query-loop
- **Category:** theme
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Comment Author Avatar",
"category": "theme",
"parent": [ "core/comment-template" ],
"description": "Add the avatar of this comment's author.",
"description": "Displays the avatar of the comment's author.",
"textdomain": "default",
"attributes": {
"width": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Comment Author Name",
"category": "theme",
"parent": [ "core/comment-template" ],
"description": "Add the author name of this comment.",
"description": "Displays the name of the author of the comment.",
"textdomain": "default",
"attributes": {
"isLink": {
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/comment-date/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Comment Date",
"category": "theme",
"parent": [ "core/comment-template" ],
"description": "Add the date of this comment.",
"description": "Displays the date on which the comment was posted.",
"textdomain": "default",
"attributes": {
"format": {
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/comment-template/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Comment Template",
"category": "design",
"parent": [ "core/comments-query-loop" ],
"description": "Contains the block elements used to render a comment, like the title, date, author, avatar and more.",
"description": "Contains the block elements used to display a comment, like the title, date, author, avatar and more.",
"textdomain": "default",
"usesContext": [ "postId" ],
"supports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Next Page",
"category": "theme",
"parent": [ "core/comments-pagination" ],
"description": "Displays the next comments page link.",
"description": "Displays the next comment's page link.",
"textdomain": "default",
"attributes": {
"label": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Previous Page",
"category": "theme",
"parent": [ "core/comments-pagination" ],
"description": "Displays the previous comments page link.",
"description": "Displays the previous comment's page link.",
"textdomain": "default",
"attributes": {
"label": {
Expand Down Expand Up @@ -35,4 +35,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "core/comments-query-loop",
"title": "Comments Query Loop",
"category": "theme",
"description": "An advanced block that allows displaying post comments based on different query parameters and visual configurations.",
"description": "An advanced block that allows displaying post comments using different visual configurations.",
"textdomain": "default",
"attributes": {
"tagName": {
Expand Down