diff --git a/wp-includes/block-supports/elements.php b/wp-includes/block-supports/elements.php index e7ade8b17f..9966b00d01 100644 --- a/wp-includes/block-supports/elements.php +++ b/wp-includes/block-supports/elements.php @@ -13,7 +13,7 @@ * @access private * * @param array $block Block object. - * @return string The unique class name. + * @return string The unique class name. */ function wp_get_elements_class_name( $block ) { return 'wp-elements-' . md5( serialize( $block ) ); @@ -92,9 +92,8 @@ function wp_render_elements_support( $block_content, $block ) { * @since 6.1.0 Implemented the style engine to generate CSS and classnames. * @access private * - * @param string|null $pre_render The pre-rendered content. Default null. - * @param array $block The block being rendered. - * + * @param string|null $pre_render The pre-rendered content. Default null. + * @param array $block The block being rendered. * @return null */ function wp_render_elements_support_styles( $pre_render, $block ) { diff --git a/wp-includes/block-supports/generated-classname.php b/wp-includes/block-supports/generated-classname.php index d794e0eab3..3ed779700c 100644 --- a/wp-includes/block-supports/generated-classname.php +++ b/wp-includes/block-supports/generated-classname.php @@ -13,7 +13,7 @@ * * @access private * - * @param string $block_name Block Name. + * @param string $block_name Block Name. * @return string Generated classname. */ function wp_get_block_default_classname( $block_name ) { @@ -30,8 +30,8 @@ function wp_get_block_default_classname( $block_name ) { * * @since 5.6.0 * - * @param string $class_name The current applied classname. - * @param string $block_name The block name. + * @param string $class_name The current applied classname. + * @param string $block_name The block name. */ $classname = apply_filters( 'block_default_classname', $classname, $block_name ); @@ -45,8 +45,7 @@ function wp_get_block_default_classname( $block_name ) { * * @access private * - * @param WP_Block_Type $block_type Block Type. - * + * @param WP_Block_Type $block_type Block Type. * @return array Block CSS classes and inline styles. */ function wp_apply_generated_classname_support( $block_type ) { diff --git a/wp-includes/block-supports/spacing.php b/wp-includes/block-supports/spacing.php index cfd60c8e08..ea9b39822d 100644 --- a/wp-includes/block-supports/spacing.php +++ b/wp-includes/block-supports/spacing.php @@ -1,7 +1,7 @@