Changeset 59760
- Timestamp:
- 02/04/2025 08:40:40 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-styles-registry.php
r58247 r59760 94 94 $block_names = is_string( $block_name ) ? array( $block_name ) : $block_name; 95 95 96 // Ensure there is a label defined. 97 if ( empty( $style_properties['label'] ) ) { 98 $style_properties['label'] = $block_style_name; 99 } 100 96 101 foreach ( $block_names as $name ) { 97 102 if ( ! isset( $this->registered_block_styles[ $name ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.