Changeset 39764 for branches/4.4/src/wp-admin/widgets.php
- Timestamp:
- 01/11/2017 01:44:36 AM (8 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-admin/widgets.php
r36369 r39764 23 23 $widgets_access = get_user_setting( 'widgets_access' ); 24 24 if ( isset($_GET['widgets-access']) ) { 25 check_admin_referer( 'widgets-access' ); 26 25 27 $widgets_access = 'on' == $_GET['widgets-access'] ? 'on' : 'off'; 26 28 set_user_setting( 'widgets_access', $widgets_access );
Note: See TracChangeset
for help on using the changeset viewer.