diff --git a/lib/widgets.php b/lib/widgets.php index ce0a7a47a0b51..934fb999bcf93 100644 --- a/lib/widgets.php +++ b/lib/widgets.php @@ -92,7 +92,7 @@ function gutenberg_legacy_widget_settings( $settings ) { $available_legacy_widgets = array(); global $wp_widget_factory, $wp_registered_widgets; foreach ( $wp_widget_factory->widgets as $class => $widget_obj ) { - if ( ! in_array( $class, $core_widgets ) ) { + if ( true ) { $available_legacy_widgets[ $class ] = array( 'name' => html_entity_decode( $widget_obj->name ), // wp_widget_description is not being used because its input parameter is a Widget Id.