Changeset 23503
- Timestamp:
- 02/28/2013 07:40:11 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/screen.php
r22018 r23503 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; 907 } 905 default: 906 $this->_screen_settings = ''; 907 break; 908 } 909 910 $this->_screen_settings = apply_filters( 'screen_settings', $this->_screen_settings, $this ); 908 911 909 912 if ( $this->_screen_settings || $this->_options )
Note: See TracChangeset
for help on using the changeset viewer.