[wp-trac] [WordPress Trac] #38482: Admin notices in the wrong language when switching language
WordPress Trac
noreply at wordpress.org
Wed Nov 2 13:27:27 UTC 2016
#38482: Admin notices in the wrong language when switching language
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: swissspidy
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
Note that [attachment:38482.diff] doesn't unload text domains as
`$language` is never empty. I used `$GLOBALS['locale']` because later on
in the file the settings errors are saved and the user gets redirected.
@ocean90 Perhaps you wanna chime in?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38482#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list