From 532cd00f462b4822ae361135e0af6c411e92c171 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 24 Nov 2022 22:36:11 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for Block Supports related function descriptions, as per docblocks standards. See #56792. Built from https://develop.svn.wordpress.org/trunk@54873 git-svn-id: http://core.svn.wordpress.org/trunk@54425 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-supports/colors.php | 2 +- wp-includes/block-supports/custom-classname.php | 2 +- wp-includes/block-supports/duotone.php | 2 +- wp-includes/block-supports/elements.php | 6 +++--- wp-includes/block-supports/generated-classname.php | 4 ++-- wp-includes/block-supports/spacing.php | 2 +- wp-includes/version.php | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wp-includes/block-supports/colors.php b/wp-includes/block-supports/colors.php index 15c949560e..25fe3edd60 100644 --- a/wp-includes/block-supports/colors.php +++ b/wp-includes/block-supports/colors.php @@ -57,7 +57,7 @@ function wp_register_colors_support( $block_type ) { /** - * Add CSS classes and inline styles for colors to the incoming attributes array. + * Adds CSS classes and inline styles for colors to the incoming attributes array. * This will be applied to the block markup in the front-end. * * @since 5.6.0 diff --git a/wp-includes/block-supports/custom-classname.php b/wp-includes/block-supports/custom-classname.php index 96d806a779..47bfbee6bd 100644 --- a/wp-includes/block-supports/custom-classname.php +++ b/wp-includes/block-supports/custom-classname.php @@ -31,7 +31,7 @@ function wp_register_custom_classname_support( $block_type ) { } /** - * Add the custom classnames to the output. + * Adds the custom classnames to the output. * * @since 5.6.0 * @access private diff --git a/wp-includes/block-supports/duotone.php b/wp-includes/block-supports/duotone.php index 95428c9c01..0e04cb1631 100644 --- a/wp-includes/block-supports/duotone.php +++ b/wp-includes/block-supports/duotone.php @@ -497,7 +497,7 @@ function wp_register_duotone_support( $block_type ) { } /** - * Render out the duotone stylesheet and SVG. + * Renders out the duotone stylesheet and SVG. * * @since 5.8.0 * @since 6.1.0 Allow unset for preset colors. diff --git a/wp-includes/block-supports/elements.php b/wp-includes/block-supports/elements.php index 90c6d3d691..e7ade8b17f 100644 --- a/wp-includes/block-supports/elements.php +++ b/wp-includes/block-supports/elements.php @@ -7,7 +7,7 @@ */ /** - * Get the elements class names. + * Gets the elements class names. * * @since 6.0.0 * @access private @@ -20,7 +20,7 @@ function wp_get_elements_class_name( $block ) { } /** - * Update the block content with elements class names. + * Updates the block content with elements class names. * * @since 5.8.0 * @access private @@ -82,7 +82,7 @@ function wp_render_elements_support( $block_content, $block ) { } /** - * Render the elements stylesheet. + * Renders the elements stylesheet. * * In the case of nested blocks we want the parent element styles to be rendered before their descendants. * This solves the issue of an element (e.g.: link color) being styled in both the parent and a descendant: diff --git a/wp-includes/block-supports/generated-classname.php b/wp-includes/block-supports/generated-classname.php index 57d657ef95..d794e0eab3 100644 --- a/wp-includes/block-supports/generated-classname.php +++ b/wp-includes/block-supports/generated-classname.php @@ -7,7 +7,7 @@ */ /** - * Get the generated classname from a given block name. + * Gets the generated classname from a given block name. * * @since 5.6.0 * @@ -39,7 +39,7 @@ function wp_get_block_default_classname( $block_name ) { } /** - * Add the generated classnames to the output. + * Adds the generated classnames to the output. * * @since 5.6.0 * diff --git a/wp-includes/block-supports/spacing.php b/wp-includes/block-supports/spacing.php index ecb68566d9..cfd60c8e08 100644 --- a/wp-includes/block-supports/spacing.php +++ b/wp-includes/block-supports/spacing.php @@ -33,7 +33,7 @@ function wp_register_spacing_support( $block_type ) { } /** - * Add CSS classes for block spacing to the incoming attributes array. + * Adds CSS classes for block spacing to the incoming attributes array. * This will be applied to the block markup in the front-end. * * @since 5.8.0 diff --git a/wp-includes/version.php b/wp-includes/version.php index 736756f304..651abb824c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54872'; +$wp_version = '6.2-alpha-54873'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.