[wp-trac] [WordPress Trac] #46694: Site Health: Debug copy field uses site locale, not user locale

WordPress Trac noreply at wordpress.org
Tue Apr 2 08:21:04 UTC 2019


#46694: Site Health: Debug copy field uses site locale, not user locale
-----------------------------------+---------------------
 Reporter:  Clorith                |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  5.2
Component:  Administration         |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  site-health has-patch  |     Focuses:
-----------------------------------+---------------------
Changes (by Clorith):

 * keywords:  needs-patch site-health => site-health has-patch


Comment:

 [attachment:"46694.patch"] replaces our use of `get_locale` to instead use
 `get_user_locale`, to reflect that this is the user viewing things, so
 they may have different preferential language options from the site it
 self.

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


More information about the wp-trac mailing list