Changeset 39771 for branches/3.7/src/wp-admin/includes/screen.php
- Timestamp:
- 01/11/2017 01:53:51 AM (10 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/branches/4.3 (added) merged: 39765
- Property svn:mergeinfo changed
-
branches/3.7/src
- Property svn:mergeinfo changed
/branches/4.3/src (added) merged: 39765
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-admin/includes/screen.php
r24415 r39771 902 902 switch ( $this->id ) { 903 903 case 'widgets': 904 $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"; 904 $nonce = wp_create_nonce( 'widgets-access' ); 905 $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"; 905 906 break; 906 907 default:
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)