Skip to content

Update the docblock for the block_core_social_link_get_services filter#78559

Open
johnbillion wants to merge 1 commit into
trunkfrom
block_core_social_link_get_services
Open

Update the docblock for the block_core_social_link_get_services filter#78559
johnbillion wants to merge 1 commit into
trunkfrom
block_core_social_link_get_services

Conversation

@johnbillion
Copy link
Copy Markdown
Member

What?

The block_core_social_link_get_services filter docblock erroneously includes a @return tag.

This PR removes it, and adds array shape notation for the $services_data parameter at the same time.

Why?

@return is not a valid tag in a hook docblock.

Use of AI Tools

None.

@github-actions
Copy link
Copy Markdown

Warning: Type of PR label mismatch

To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.

  • Required label: Any label starting with [Type].
  • Labels found: .

Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task.

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: johnbillion <johnbillion@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions github-actions Bot added the [Package] Block library /packages/block-library label May 22, 2026
@github-actions
Copy link
Copy Markdown

Flaky tests detected in cae378d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/26280902903
📝 Reported issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Block library /packages/block-library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant