Changeset 39765 for branches/4.3/src/wp-admin/includes/screen.php
- Timestamp:
- 01/11/2017 01:46:15 AM (9 years ago)
- File:
-
- 1 edited
-
branches/4.3/src/wp-admin/includes/screen.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-admin/includes/screen.php
r32844 r39765 1005 1005 switch ( $this->base ) { 1006 1006 case 'widgets': 1007 $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"; 1007 $nonce = wp_create_nonce( 'widgets-access' ); 1008 $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"; 1008 1009 break; 1009 1010 case 'post' :
Note: See TracChangeset
for help on using the changeset viewer.