Changeset 39767 for branches/4.1/src/wp-admin/includes/screen.php
- Timestamp:
- 01/11/2017 01:49:36 AM (9 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/screen.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
- Property svn:mergeinfo changed
/branches/4.3 (added) merged: 39765
- Property svn:mergeinfo changed
-
branches/4.1/src/wp-admin/includes/screen.php
r30734 r39767 971 971 switch ( $this->base ) { 972 972 case 'widgets': 973 $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"; 973 $nonce = wp_create_nonce( 'widgets-access' ); 974 $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"; 974 975 break; 975 976 case 'post' :
Note: See TracChangeset
for help on using the changeset viewer.