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
This commit is contained in:
Sergey Biryukov 2019-10-27 14:09:02 +00:00
parent bb57520713
commit e015fbd8bb
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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.