WordPress.org

Make WordPress Core

Ticket #47017: patch.diff

File patch.diff, 739 bytes (added by gziolo, 5 months ago)
  • src/wp-admin/includes/post.php

     
    21862186function get_block_editor_server_block_settings() {
    21872187        $block_registry = WP_Block_Type_Registry::get_instance();
    21882188        $blocks         = array();
    2189         $keys_to_pick   = array( 'title', 'description', 'icon', 'category', 'keywords', 'supports', 'attributes' );
     2189        $keys_to_pick   = array( 'title', 'description', 'icon', 'category', 'keywords', 'parent', 'supports', 'attributes', 'styles' );
    21902190
    21912191        foreach ( $block_registry->get_all_registered() as $block_name => $block_type ) {
    21922192                foreach ( $keys_to_pick as $key ) {