Skip to content

docs: fix type syntax in _gutenberg_add_block_template_plugin_attribute() - #68391

Merged
Mamaduka merged 1 commit into
WordPress:trunkfrom
justlevine:docs/param-type-_gutenberg_add_block_template_plugin_attribute
Jan 14, 2025
Merged

Mamaduka merged 1 commit into
WordPress:trunkfrom
justlevine:docs/param-type-_gutenberg_add_block_template_plugin_attribute

Conversation

@justlevine

Copy link
Copy Markdown
Contributor

What?

This PR fixes the PHPDoc type syntax used in _gutenberg_add_block_template_plugin_attribute().

Why?

It seems to have been committing using JSDoc syntax.

While this issue was surfaced by PHPStan (via #66693) it can be remediated independently as part of #66598

How?

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

Before After

@github-actions

github-actions Bot commented Dec 30, 2024 •

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: justlevine <justlevine@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

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

@Mamaduka Mamaduka added [Type] Developer Documentation Documentation for developers No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core labels Jan 14, 2025

@Mamaduka Mamaduka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @justlevine!

@Mamaduka Mamaduka added the props-bot Manually triggers Props Bot to ensure the list of props is up to date. label Jan 14, 2025
@github-actions github-actions Bot removed the props-bot Manually triggers Props Bot to ensure the list of props is up to date. label Jan 14, 2025
@Mamaduka
Mamaduka merged commit 067ee7b into WordPress:trunk Jan 14, 2025
@github-actions github-actions Bot added this to the Gutenberg 20.1 milestone Jan 14, 2025
@justlevine
justlevine deleted the docs/param-type-_gutenberg_add_block_template_plugin_attribute branch January 14, 2025 09:36
Gulamdastgir-Momin pushed a commit to Gulamdastgir-Momin/gutenberg that referenced this pull request Jan 23, 2025
WordPress#68391)


Co-authored-by: justlevine <justlevine@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
chriszarate pushed a commit to chriszarate/gutenberg that referenced this pull request Jul 1, 2025
WordPress#68391)


Co-authored-by: justlevine <justlevine@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants