mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
Merge branch 'WordPress:master' into kiscica
This commit is contained in:
commit
1480b758fe
|
|
@ -93,6 +93,11 @@ final class WP_Block_Styles_Registry {
|
|||
$block_style_name = $style_properties['name'];
|
||||
$block_names = is_string( $block_name ) ? array( $block_name ) : $block_name;
|
||||
|
||||
// Ensure there is a label defined.
|
||||
if ( empty( $style_properties['label'] ) ) {
|
||||
$style_properties['label'] = $block_style_name;
|
||||
}
|
||||
|
||||
foreach ( $block_names as $name ) {
|
||||
if ( ! isset( $this->registered_block_styles[ $name ] ) ) {
|
||||
$this->registered_block_styles[ $name ] = array();
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59756';
|
||||
$wp_version = '6.8-alpha-59760';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user