WordPress.org

Make WordPress Core

Ticket #19274: 19274.diff

File 19274.diff, 374 bytes (added by batmoo, 7 years ago)
  • wp-admin/widgets.php

     
    7474                        'before_title' => '',
    7575                        'after_title' => '',
    7676                ));
     77        } elseif ( empty( $wp_registered_sidebars[ $sidebar_id ] ) ) {
     78                unset( $sidebars_widgets[ $sidebar_id ] );
    7779        }
    7880}
    7981