diff --git a/packages/block-library/src/latest-posts/index.php b/packages/block-library/src/latest-posts/index.php index f8fd8ea27bc453..b970f486bb6a1c 100644 --- a/packages/block-library/src/latest-posts/index.php +++ b/packages/block-library/src/latest-posts/index.php @@ -33,6 +33,9 @@ function block_core_latest_posts_get_excerpt_length() { * * @since 5.0.0 * + * @global WP_Post $post Global post object. + * @global int $block_core_latest_posts_excerpt_length Excerpt length set by the Latest Posts core block. + * * @param array $attributes The block attributes. * * @return string Returns the post content with latest posts added.