Dashboard: Append the current locale to dashboard RSS widget cache key in `wp_dashboard_rss_control()`, for consistency with the changes to `wp_dashboard_cached_rss_widget()` in [33183] and [33192].
See #32804, #40702. Built from https://develop.svn.wordpress.org/trunk@40802 git-svn-id: http://core.svn.wordpress.org/trunk@40660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a89f203b21
commit
a2788b09d5
|
@ -1062,7 +1062,8 @@ function wp_dashboard_rss_control( $widget_id, $form_inputs = array() ) {
|
|||
}
|
||||
}
|
||||
update_option( 'dashboard_widget_options', $widget_options );
|
||||
$cache_key = 'dash_' . md5( $widget_id );
|
||||
$locale = get_user_locale();
|
||||
$cache_key = 'dash_' . md5( $widget_id . '_' . $locale );
|
||||
delete_transient( $cache_key );
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-beta1-40801';
|
||||
$wp_version = '4.8-beta1-40802';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue