Make WordPress Core

Changeset 46601

Timestamp:
10/27/2019 02:06:04 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Editor: Fix typo in an error message in WP_Block_Styles_Registry::register().

Props man4toman, alishankhan, shaampk1.
Fixes #48437.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-styles-registry.php

    r46600 r46601  
    4444
    4545        if ( ! isset( $block_name ) || ! is_string( $block_name ) ) {
    46             $message = __( 'Block name name must be a string.' );
     46            $message = __( 'Block name must be a string.' );
    4747            _doing_it_wrong( __METHOD__, $message, '5.3.0' );
    4848            return false;
Note: See TracChangeset for help on using the changeset viewer.