Changeset 39766 for branches/4.2/src/wp-admin/widgets.php
- Timestamp:
- 01/11/2017 01:48:22 AM (9 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/4.2/src/wp-admin/widgets.php
r32116 r39766 18 18 $widgets_access = get_user_setting( 'widgets_access' ); 19 19 if ( isset($_GET['widgets-access']) ) { 20 check_admin_referer( 'widgets-access' ); 21 20 22 $widgets_access = 'on' == $_GET['widgets-access'] ? 'on' : 'off'; 21 23 set_user_setting( 'widgets_access', $widgets_access );
Note: See TracChangeset
for help on using the changeset viewer.