From 57d6313f33b5ef5de01202e7b5901f4a79af1ede Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 11 Aug 2022 14:31:59 +0000 Subject: [PATCH] Docs: Revert two changes that need to instead be made upstream in the Gutenberg repo. Partially reverts [53877]. See #55646 git-svn-id: https://develop.svn.wordpress.org/trunk@53879 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/blocks/search.php | 2 +- src/wp-includes/blocks/template-part.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/blocks/search.php b/src/wp-includes/blocks/search.php index 280360b86e..94ec6fc4ac 100644 --- a/src/wp-includes/blocks/search.php +++ b/src/wp-includes/blocks/search.php @@ -180,7 +180,7 @@ function classnames_for_block_core_search( $attributes ) { * * @param array $attributes The block attributes. * - * @return string[] Style HTML attributes. + * @return array Style HTML attribute. */ function styles_for_block_core_search( $attributes ) { $wrapper_styles = array(); diff --git a/src/wp-includes/blocks/template-part.php b/src/wp-includes/blocks/template-part.php index 94be0b53b1..d1343249ed 100644 --- a/src/wp-includes/blocks/template-part.php +++ b/src/wp-includes/blocks/template-part.php @@ -159,9 +159,9 @@ function render_block_core_template_part( $attributes ) { } /** - * Returns an array of variation arrays for the template part block. + * Returns an array of variation objects for the template part block. * - * @return array[] Array containing the block variation data in an array. + * @return array Array containing the block variation objects. */ function build_template_part_block_variations() { $variations = array();