diff --git a/src/wp-includes/class-wp-block-styles-registry.php b/src/wp-includes/class-wp-block-styles-registry.php index f1e28794bb..f56d0e2d72 100644 --- a/src/wp-includes/class-wp-block-styles-registry.php +++ b/src/wp-includes/class-wp-block-styles-registry.php @@ -43,7 +43,7 @@ final class WP_Block_Styles_Registry { public function register( $block_name, $style_properties ) { if ( ! isset( $block_name ) || ! is_string( $block_name ) ) { - $message = __( 'Block name name must be a string.' ); + $message = __( 'Block name must be a string.' ); _doing_it_wrong( __METHOD__, $message, '5.3.0' ); return false; }