Ticket #23239: 23239.patch
| File 23239.patch, 963 bytes (added by , 13 years ago) |
|---|
-
wp-admin/includes/screen.php
898 898 899 899 $show_screen = ! empty( $wp_meta_boxes[ $this->id ] ) || $columns || $this->get_option( 'per_page' ); 900 900 901 $this->_screen_settings = apply_filters( 'screen_settings', '', $this );902 903 901 switch ( $this->id ) { 904 902 case 'widgets': 905 903 $this->_screen_settings = '<p><a id="access-on" href="widgets.php?widgets-access=on">' . __('Enable accessibility mode') . '</a><a id="access-off" href="widgets.php?widgets-access=off">' . __('Disable accessibility mode') . "</a></p>\n"; 906 904 break; 905 default: 906 $this->_screen_settings = ''; 907 break; 907 908 } 908 909 910 $this->_screen_settings = apply_filters( 'screen_settings', $this->_screen_settings, $this ); 911 909 912 if ( $this->_screen_settings || $this->_options ) 910 913 $show_screen = true; 911 914