Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix: Legacy Widgets description of "callback widgets" is not shown.
  • Loading branch information
jorgefilipecosta committed Mar 25, 2019
commit 4bfd35221c0d7a957f981f7f1b1a1738c9db75fd
2 changes: 1 addition & 1 deletion lib/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function gutenberg_legacy_widget_settings( $settings ) {
}
$available_legacy_widgets[ $widget_id ] = array(
'name' => html_entity_decode( $widget_obj['name'] ),
'description' => null,
'description' => html_entity_decode( wp_widget_description( $widget_id ) ),
'isCallbackWidget' => true,
);
}
Expand Down