Skip to content

Commit

Permalink
Fix: Legacy Widgets description of "callback widgets" is not shown. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Mar 25, 2019
1 parent 3c1fe58 commit 39d435b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,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

0 comments on commit 39d435b

Please sign in to comment.