IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
927 | 927 | $show_screen = ! empty( $wp_meta_boxes[ $this->id ] ) || $columns || $this->get_option( 'per_page' ); |
928 | 928 | |
929 | 929 | switch ( $this->base ) { |
930 | | case 'widgets': |
931 | | $nonce = wp_create_nonce( 'widgets-access' ); |
932 | | $this->_screen_settings = '<p><a id="access-on" href="widgets.php?widgets-access=on&_wpnonce=' . urlencode( $nonce ) . '">' . __( 'Enable accessibility mode' ) . '</a><a id="access-off" href="widgets.php?widgets-access=off&_wpnonce=' . urlencode( $nonce ) . '">' . __( 'Disable accessibility mode' ) . "</a></p>\n"; |
933 | | break; |
934 | 930 | case 'post': |
935 | 931 | $expand = '<fieldset class="editor-expand hidden"><legend>' . __( 'Additional settings' ) . '</legend><label for="editor-expand-toggle">'; |
936 | 932 | $expand .= '<input type="checkbox" id="editor-expand-toggle"' . checked( get_user_setting( 'editor_expand', 'on' ), 'on', false ) . ' />'; |
… |
… |
|
945 | 941 | /** |
946 | 942 | * Filters the screen settings text displayed in the Screen Options tab. |
947 | 943 | * |
948 | | * This filter is currently only used on the Widgets screen to enable |
949 | | * accessibility mode. |
950 | | * |
951 | 944 | * @since 3.0.0 |
952 | 945 | * |
953 | 946 | * @param string $screen_settings Screen settings. |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
401 | 401 | } |
402 | 402 | ?> |
403 | 403 | |
| 404 | <?php $nonce = wp_create_nonce( 'widgets-access' ); ?> |
| 405 | <a id="access-on" class="page-title-action" href="widgets.php?widgets-access=on&_wpnonce=<?php echo urlencode( $nonce ); ?>"><?php _e( 'Enable accessibility mode' ); ?></a> |
| 406 | <a id="access-off" class="page-title-action" href="widgets.php?widgets-access=off&_wpnonce=<?php echo urlencode( $nonce ); ?>"><?php _e( 'Disable accessibility mode' ); ?></a> |
| 407 | |
404 | 408 | <hr class="wp-header-end"> |
405 | 409 | |
406 | 410 | <?php if ( isset( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) { ?> |