From e015fbd8bb2973207d87eccd8389c1bf319778d1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 27 Oct 2019 14:09:02 +0000 Subject: [PATCH] Editor: Fix typo in an error message in `WP_Block_Styles_Registry::register()`. Props man4toman, alishankhan, shaampk1. Fixes #48437. Built from https://develop.svn.wordpress.org/trunk@46601 git-svn-id: http://core.svn.wordpress.org/trunk@46398 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-block-styles-registry.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-block-styles-registry.php b/wp-includes/class-wp-block-styles-registry.php index f1e28794bb..f56d0e2d72 100644 --- a/wp-includes/class-wp-block-styles-registry.php +++ b/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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index c0db7d6069..4534822993 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46600'; +$wp_version = '5.4-alpha-46601'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.