- Timestamp:
- 11/28/2021 01:51:23 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-styles-registry.php
r52236 r52261 59 59 __( 'Block style name must be a string.' ), 60 60 '5.3.0' 61 ); 62 return false; 63 } 64 65 if ( str_contains( $style_properties['name'], ' ' ) ) { 66 _doing_it_wrong( 67 __METHOD__, 68 __( 'Block style name must not contain any spaces.' ), 69 '5.9.0' 61 70 ); 62 71 return false;
Note: See TracChangeset
for help on using the changeset viewer.