diff --git a/src/wp-includes/class-wp-duotone.php b/src/wp-includes/class-wp-duotone.php index 7a4da5a137a93..debb1869bfcc6 100644 --- a/src/wp-includes/class-wp-duotone.php +++ b/src/wp-includes/class-wp-duotone.php @@ -472,7 +472,7 @@ private static function is_preset( $duotone_attr ) { } /** - * Get the CSS variable name for a duotone preset. + * Gets the CSS variable name for a duotone preset. * * @param string $slug The slug of the duotone preset. * @return string The CSS variable name. diff --git a/tests/phpunit/tests/block-supports/duotone.php b/tests/phpunit/tests/block-supports/duotone.php index 7059693986dfa..8706af5af87bc 100644 --- a/tests/phpunit/tests/block-supports/duotone.php +++ b/tests/phpunit/tests/block-supports/duotone.php @@ -18,6 +18,8 @@ public static function wpTearDownAfterClass() { /** * Tests whether the duotone preset class is added to the block. * + * @ticket 58555 + * * @covers ::render_duotone_support */ public function test_render_duotone_support_preset() { @@ -33,6 +35,8 @@ public function test_render_duotone_support_preset() { /** * Tests whether the duotone unset class is added to the block. * + * @ticket 58555 + * * @covers ::render_duotone_support */ public function test_render_duotone_support_css() { @@ -76,7 +80,7 @@ public function data_get_slug_from_attribute() { /** * Tests whether the slug is extracted from the attribute. - * + * * @dataProvider data_get_slug_from_attribute * @covers ::get_slug_from_attribute */