Changeset 28592
- Timestamp:
- 05/27/2014 03:40:19 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r28545 r28592 18 18 $wp_dashboard_control_callbacks = array(); 19 19 $screen = get_current_screen(); 20 21 $update = false;22 $widget_options = get_option( 'dashboard_widget_options' );23 if ( !$widget_options || !is_array($widget_options) )24 $widget_options = array();25 20 26 21 /* Register Widgets and Controls */ … … 123 118 exit; 124 119 } 125 126 if ( $update )127 update_option( 'dashboard_widget_options', $widget_options );128 120 129 121 /** This action is documented in wp-admin/edit-form-advanced.php */
Note: See TracChangeset
for help on using the changeset viewer.