[wp-trac] [WordPress Trac] #40417: News feeds are cached by site locale instead of user locale

WordPress Trac noreply at wordpress.org
Fri May 19 14:35:05 UTC 2017


#40417: News feeds are cached by site locale instead of user locale
--------------------------+-----------------------------
 Reporter:  iandunn       |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.8
Component:  I18N          |     Version:  4.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40793"]:
 {{{
 #!CommitTicketReference repository="" revision="40793"
 Dashboard: Use `get_user_locale()` for the news feed cache key.

 Since the feed URL can be localized the cache key has to be built with the
 same locale as the current user is using.

 Props iandunn.
 Fixes #40417.
 }}}

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


More information about the wp-trac mailing list