Docs: Correct DocBlock formatting for render_block().

Follow-up to [49310].

See #51606.

git-svn-id: https://develop.svn.wordpress.org/trunk@49312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-26 21:53:43 +00:00
parent f09b69c410
commit 430320e905
2 changed files with 3 additions and 4 deletions

View File

@ -652,9 +652,8 @@ function _excerpt_render_inner_columns_blocks( $columns, $allowed_blocks ) {
*
* @since 5.0.0
*
* @global WP_Post $post The post to edit.
* @global WP_Query $wp_query WordPress Query object.
* @global WP_Query $wp_query WordPress Query object.
* @global WP_Post $post The post to edit.
* @global WP_Query $wp_query WordPress Query object.
*
* @param array $parsed_block A single parsed block object.
* @return string String of rendered HTML.

View File

@ -88,7 +88,7 @@ class WP_Block_Supports {
*
* @since 5.6.0
*
* @return array Array of HTML attributes.
* @return array Array of HTML attributes.
*/
public function apply_block_supports() {
$block_attributes = self::$block_to_render['attrs'];