Changeset 18265
- Timestamp:
- 06/11/2011 03:33:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r18264 r18265 1043 1043 } 1044 1044 1045 $cache_key = 'dash_' . $widget_id;1045 $cache_key = 'dash_' . md5( $widget_id ); 1046 1046 if ( false !== ( $output = get_transient( $cache_key ) ) ) { 1047 1047 echo $output; … … 1119 1119 } 1120 1120 update_option( 'dashboard_widget_options', $widget_options ); 1121 $cache_key = 'dash_' . $widget_id;1121 $cache_key = 'dash_' . md5( $widget_id ); 1122 1122 delete_transient( $cache_key ); 1123 1123 }
Note: See TracChangeset
for help on using the changeset viewer.