Skip to content

Commit

Permalink
fix: gutenberg mode gadget error problem (#502 #521 #538)
Browse files Browse the repository at this point in the history
  • Loading branch information
seatonjiang committed Nov 27, 2022
1 parent 70f6d92 commit 4b5f803
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/theme-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ function widgets_init()

// 关闭默认小工具
function widget_unregister() {
unregister_widget('WP_Widget_Block');
// fix #502 #521
// unregister_widget('WP_Widget_Block');
unregister_widget('WP_Widget_Pages');
unregister_widget('WP_Widget_Meta');
unregister_widget('WP_Widget_Media_Image');
Expand Down

0 comments on commit 4b5f803

Please sign in to comment.