Changeset 11503 for trunk/wp-admin/widgets.php
- Timestamp:
- 06/01/2009 11:31:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/widgets.php
r11450 r11503 301 301 } 302 302 303 $widgets_access = get_user_setting( 'widgets_access' ); 304 if ( isset($_GET['widgets-access']) ) { 305 $widgets_access = 'on' == $_GET['widgets-access'] ? 'on' : 'off'; 306 set_user_setting( 'widgets_access', $widgets_access ); 307 } 308 309 if ( 'on' == $widgets_access ) 310 add_filter( 'admin_body_class', create_function('', '{return " widgets_access ";}') ); 311 303 312 $messages = array( 304 313 __('Changes saved.')
Note: See TracChangeset
for help on using the changeset viewer.