equal
deleted
inserted
replaced
19 403 |
19 403 |
20 ); |
20 ); |
21 } |
21 } |
22 |
22 |
23 if ( ! current_theme_supports( 'widgets' ) ) { |
23 if ( ! current_theme_supports( 'widgets' ) ) { |
24 wp_die( __( 'The theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="https://developer.wordpress.org/themes/functionality/widgets/">follow these instructions</a>.' ) ); |
24 wp_die( __( 'The theme you are currently using is not widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="https://developer.wordpress.org/themes/functionality/widgets/">follow these instructions</a>.' ) ); |
25 } |
25 } |
26 |
26 |
|
27 // Used in the HTML title tag. |
27 $title = __( 'Widgets' ); |
28 $title = __( 'Widgets' ); |
28 $parent_file = 'themes.php'; |
29 $parent_file = 'themes.php'; |
29 |
30 |
30 if ( wp_use_widgets_block_editor() ) { |
31 if ( wp_use_widgets_block_editor() ) { |
31 require ABSPATH . 'wp-admin/widgets-form-blocks.php'; |
32 require ABSPATH . 'wp-admin/widgets-form-blocks.php'; |