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
This commit is contained in:
parent
fa02b8917e
commit
f06419d070
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user