[wp-trac] [WordPress Trac] #32804: Dashboard feeds when switching language

WordPress Trac noreply at wordpress.org
Sat Jun 27 14:14:08 UTC 2015


#32804: Dashboard feeds when switching language
--------------------------+-----------------------------
 Reporter:  andg          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Feeds         |     Version:  4.2.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+-----------------------------
Changes (by ocean90):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 Hello andg, welcome to Trac!

 Thanks for your valid report.
 The feed gets cached in `wp_dashboard_cached_rss_widget()` The current
 cache key in `wp_dashboard_cached_rss_widget()` is `'dash_' . md5(
 $widget_id )`. I think we should change the cache key to include the
 current locale.
 For the credits we're using `'wordpress_credits_' . $locale` so we could
 change the key to `'dash_' . md5( $widget_id ) . '_' . $locale`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32804#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list