From f06419d0708b754fae3373fc40e4d5f88b08fac1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 27 Oct 2019 14:06:04 +0000 Subject: [PATCH] Editor: Fix typo in an error message in `WP_Block_Styles_Registry::register()`. Props man4toman, alishankhan, shaampk1. Fixes #48437. git-svn-id: https://develop.svn.wordpress.org/trunk@46601 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-block-styles-registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }