diff --git a/gutenberg.php b/gutenberg.php index e6a0c32099d90..6c5a1966a0b5c 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -191,36 +191,6 @@ function gutenberg_register_widgets() { } register_widget( 'WP_Widget_Block' ); - // By default every widget on widgets.php is wrapped with a
'; - } - - return $arg; } add_action( 'widgets_init', 'gutenberg_register_widgets' ); diff --git a/lib/class-wp-widget-block.php b/lib/class-wp-widget-block.php index a9eb407abddc4..f1ca4b3c034fd 100644 --- a/lib/class-wp-widget-block.php +++ b/lib/class-wp-widget-block.php @@ -80,9 +80,8 @@ public function update( $new_instance, $old_instance ) { */ public function form( $instance ) { $instance = wp_parse_args( (array) $instance, $this->default_instance ); - echo do_blocks( $instance['content'] ); ?> - +