[wp-trac] [WordPress Trac] #29362: More development for wp_dropdown_languages()
WordPress Trac
noreply at wordpress.org
Fri Feb 13 03:16:17 UTC 2015
#29362: More development for wp_dropdown_languages()
-------------------------------------+------------------------------
Reporter: alex-ye | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:5 khromov]:
> I'd like to second a filter. I author the "English WordPress Admin"*
plugin and the introduction of wp_dropdown_languages() has made it so that
if you hook on the locale filter to change locale to "en_US", the dropdown
will have English selected when the user visits options-general.php, so
when the user saves the options, he will have changed his site language by
mistake.
Related: #31318
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29362#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list