Skip to content

Latest Posts block: Add missing @global PHP documentation #69763

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

Merged
merged 4 commits into from
Mar 31, 2025

Conversation

snehapatil2001
Copy link
Contributor

@snehapatil2001 snehapatil2001 commented Mar 31, 2025

What?
Added @global documentation in gutenberg/packages/block-library/src/latest-posts/index.php file.

Why?
@global documentation is missing in gutenberg/packages/block-library/src/latest-posts/index.php file.

How?
Testing Instructions
Open gutenberg/packages/block-library/src/latest-posts/index.php file
See @global documentation is missing

issue: #69761

Copy link

github-actions bot commented Mar 31, 2025

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: snehapatil2001 <snehapatil02@git.wordpress.org>
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>

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

@t-hamano t-hamano added the [Type] Developer Documentation Documentation for developers label Mar 31, 2025
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
@snehapatil2001 snehapatil2001 requested a review from t-hamano March 31, 2025 08:19
Copy link
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@t-hamano t-hamano added the [Block] Latest Posts Affects the Latest Posts Block label Mar 31, 2025
@t-hamano t-hamano merged commit 951879a into WordPress:trunk Mar 31, 2025
63 checks passed
@github-actions github-actions bot added this to the Gutenberg 20.7 milestone Mar 31, 2025
chriszarate pushed a commit to chriszarate/gutenberg that referenced this pull request Jul 1, 2025
…69763)

* feat: add the @global documentation.

* fix: phpcs error.

* chore: update doc comment.

* fix: alignment.

Co-authored-by: snehapatil2001 <snehapatil02@git.wordpress.org>
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Latest Posts Affects the Latest Posts Block [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants