diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index 4a409e8c68..a2ff801930 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -898,14 +898,17 @@ final class WP_Screen { $show_screen = ! empty( $wp_meta_boxes[ $this->id ] ) || $columns || $this->get_option( 'per_page' ); - $this->_screen_settings = apply_filters( 'screen_settings', '', $this ); - switch ( $this->id ) { case 'widgets': $this->_screen_settings = '

' . __('Enable accessibility mode') . '' . __('Disable accessibility mode') . "

\n"; break; + default: + $this->_screen_settings = ''; + break; } + $this->_screen_settings = apply_filters( 'screen_settings', $this->_screen_settings, $this ); + if ( $this->_screen_settings || $this->_options ) $show_screen = true;